Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop the FileWatcher when unloading configs.
The FileWatcher needs to be stopped somewhere otherwise the jvm will hang on exit because it is keeping a ScheduledExecutorService thread pool alive with non-daemon threads. Since ConfigTracker.unloadConfigs is called during server stop, it seems like an ok place to also stop the FileWatcher.
- Loading branch information