Stop command event and timer event (if running) at deinit

This commit is contained in:
Julien BLACHE 2010-07-30 22:16:07 +02:00
parent 7df92ae6bd
commit 3148ec8209

View File

@ -3282,6 +3282,11 @@ player_deinit(void)
laudio_deinit();
raop_deinit();
if (event_initialized(&pb_timer_ev))
event_del(&pb_timer_ev);
event_del(&cmdev);
#ifdef USE_EVENTFD
close(exit_efd);
close(cmd_efd);