mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-10 21:31:53 +01:00
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:
parent
92105d9a28
commit
065e33f5ab
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user