fix Obs shutdown hook

This commit is contained in:
2023-10-24 07:43:12 -04:00
parent 596dddd630
commit 70a7f3768e

View File

@@ -67,7 +67,7 @@ class Obs(
// OBSRemoteController starts a non-daemon thread. It probably should not do that. // OBSRemoteController starts a non-daemon thread. It probably should not do that.
// Kill it on shutdown. // Kill it on shutdown.
addShutdownHook { addShutdownHook {
controller.stop() close()
} }
} }