mopidy-alarmclock icon indicating copy to clipboard operation
mopidy-alarmclock copied to clipboard

Mopidy takes a long time to shut down when using Mopidy-AlarmClock

Open rgov opened this issue 7 years ago • 0 comments

When Mopidy-AlarmClock is loaded (granted, with my changes, but I think this is unrelated to them), service mopidy restart seems to take a loooong time. There are no logs pointing the finger at anything, but my suspicion is that the timer thread (or threads, if they're constantly being created) are not getting the signal to shut down.

I looked around and Mopidy-GMusic also has a repeating timer, and its Pykka-aware backend seems to get an on_stop message that tells it to kill its timer. But I don't know how we can do the same thing without significantly changing.

rgov avatar Mar 06 '17 08:03 rgov