This commit is contained in:
bskjon 2024-07-20 01:23:26 +02:00
parent 0aee64c7f3
commit 861dcd00d8

View File

@ -74,6 +74,7 @@ class InputDirectoryWatcher(@Autowired var coordinator: Coordinator): FileWatche
e.printStackTrace() e.printStackTrace()
} }
} }
watcherChannel.invokeOnClose {
log.warn { "Watcher stopped!!!" } log.warn { "Watcher stopped!!!" }
if (!isStopping) { if (!isStopping) {
ioCoroutine.launch { ioCoroutine.launch {
@ -81,6 +82,7 @@ class InputDirectoryWatcher(@Autowired var coordinator: Coordinator): FileWatche
} }
} }
} }
}
init { init {