mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-12 23:42:32 -04: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();
|
laudio_deinit();
|
||||||
raop_deinit();
|
raop_deinit();
|
||||||
|
|
||||||
|
if (event_initialized(&pb_timer_ev))
|
||||||
|
event_del(&pb_timer_ev);
|
||||||
|
|
||||||
|
event_del(&cmdev);
|
||||||
|
|
||||||
#ifdef USE_EVENTFD
|
#ifdef USE_EVENTFD
|
||||||
close(exit_efd);
|
close(exit_efd);
|
||||||
close(cmd_efd);
|
close(cmd_efd);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user