nischi/MMM-MotionControl

Leaking off timers

Closed this issue · 0 comments

It seems that if user is loggedOff and on a few times (atleast in the case of Face-Reco-DNN module) a new timer for screen turnoff is created for each logoff. This means that even when user logsin the older timer still turns off the screen as the handle/ID of timer is lost and cannot be cleared anymore.
The fix should be to make sure there is only one timeout handle/ID to avoid turning TV/Monitor on/off all the time.