mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 23:25:56 -05:00
Stop command event and timer event (if running) at deinit
This commit is contained in:
parent
7df92ae6bd
commit
3148ec8209
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user