Prevent infinite loops when switching
michbeck100 opened this issue · 1 comments
michbeck100 commented
Some switch implementations aren't safe when switching from on to on. This can cause an infinite loop of events and event handlers.
michbeck100 commented
Comparing new value with current value to prevent infinite switching. Should be fixed now.