allow removing of listeners

This commit is contained in:
chme
2015-05-03 08:18:26 +02:00
parent 1714f3dee4
commit 7097dd15eb
3 changed files with 34 additions and 0 deletions

View File

@@ -4098,6 +4098,8 @@ void mpd_deinit(void)
return;
}
listener_remove(mpd_listener_cb);
while (idle_clients)
{
temp = idle_clients;