make watcher thread daemon

pull/5/head
Zlatin Balevsky 2019-06-17 19:58:57 +01:00
parent e78016ead4
commit aef7533bd5
1 changed files with 1 additions and 0 deletions

View File

@ -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() {