mirror of https://github.com/zlatinb/muwire
make watcher thread daemon
parent
e78016ead4
commit
aef7533bd5
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue