music controller - set timer to null to be sure on del

devs/bu5hm4n/swipe_real
Carsten Haitzler 2 years ago
parent 2c677a87dd
commit 19f17e4aef
  1. 1
      src/modules/music-control/e_mod_main.c

@ -428,6 +428,7 @@ _timer_redo(E_Music_Control_Module_Context *ctxt)
double t = 5.0;
if (ctxt->poll_timer) ecore_timer_del(ctxt->poll_timer);
ctxt->poll_timer = NULL;
pm = e_powersave_mode_get();
if (e_powersave_mode_screen_get() > pm) pm = e_powersave_mode_screen_get();
if (pm >= E_POWERSAVE_MODE_FREEZE) t = 3600.0;

Loading…
Cancel
Save