make watcher thread daemon
This commit is contained in:
@@ -23,6 +23,7 @@ class DirectoryWatcher {
|
||||
DirectoryWatcher(EventBus eventBus) {
|
||||
this.eventBus = eventBus
|
||||
this.watcherThread = new Thread({watch() } as Runnable, "directory-watcher")
|
||||
watcherThread.setDaemon(true)
|
||||
}
|
||||
|
||||
void start() {
|
||||
|
||||
Reference in New Issue
Block a user