Fix StartLevelService "hanging" if config is changed. (#3092)

Unregistered trackers aren't clear, so then we never register new trackers,
and thus never get notified of any changes.

Signed-off-by: Cody Cutrer <cody@cutrer.us>

Signed-off-by: Cody Cutrer <cody@cutrer.us>
This commit is contained in:
Cody Cutrer 2022-09-25 01:44:57 -06:00 committed by GitHub
parent 92105d9a28
commit 065e33f5ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -172,6 +172,7 @@ public class StartLevelService {
// clean up
slmarker.clear();
trackers.values().forEach(t -> readyService.unregisterTracker(t));
trackers.clear();
// set up trackers and markers
startlevels = parseConfig(configuration);