call jnius.detach on thread stop

This commit is contained in:
ThomasV
2016-06-04 12:58:29 +02:00
parent 5f3b6af2e0
commit bbe7b277d2
4 changed files with 9 additions and 2 deletions

View File

@@ -169,7 +169,7 @@ class Plugins(DaemonThread):
while self.is_running():
time.sleep(0.1)
self.run_jobs()
self.print_error("stopped")
self.on_stop()
hook_names = set()