diff options
author | Max Kellermann <max@duempel.org> | 2009-01-10 18:55:39 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-10 18:55:39 +0100 |
commit | 0366adddbd0c09e0977f9fa574918868d6921744 (patch) | |
tree | d22ea10a2e596829f22c4c2a00c4b9f660b15295 | |
parent | e3c6ad515d80266636b09d794b3db98fc0e684ee (diff) | |
download | mpd-0366adddbd0c09e0977f9fa574918868d6921744.tar.gz mpd-0366adddbd0c09e0977f9fa574918868d6921744.tar.xz mpd-0366adddbd0c09e0977f9fa574918868d6921744.zip |
client: remove "expire" event on exit
-rw-r--r-- | src/client.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client.c b/src/client.c index 1c5d8b9b2..e059f64fd 100644 --- a/src/client.c +++ b/src/client.c @@ -620,6 +620,9 @@ void client_manager_deinit(void) client_close_all(); client_max_connections = 0; + + if (expire_source_id != 0) + g_source_remove(expire_source_id); } static void |