client: run client_manager_expire() in an idle event

With the GLib main loop, the client manager can install its own event
in case a client is expired.  No need for main.c to call
client_manager_expire() manually.
This commit is contained in:
Max Kellermann
2008-12-31 14:30:03 +01:00
parent a12b57e1e9
commit 3cd0b90ff6
3 changed files with 22 additions and 3 deletions

View File

@@ -196,7 +196,6 @@ main_notify_triggered(void)
unsigned flags;
syncPlayerAndPlaylist();
client_manager_expire();
reap_update_task();
/* send "idle" notificaions to all subscribed