fix Obs shutdown hook
This commit is contained in:
@@ -67,7 +67,7 @@ class Obs(
|
||||
// OBSRemoteController starts a non-daemon thread. It probably should not do that.
|
||||
// Kill it on shutdown.
|
||||
addShutdownHook {
|
||||
controller.stop()
|
||||
close()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user