aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-10 18:55:39 +0100
committerMax Kellermann <max@duempel.org>2009-01-10 18:55:39 +0100
commit0366adddbd0c09e0977f9fa574918868d6921744 (patch)
treed22ea10a2e596829f22c4c2a00c4b9f660b15295
parente3c6ad515d80266636b09d794b3db98fc0e684ee (diff)
downloadmpd-0366adddbd0c09e0977f9fa574918868d6921744.tar.gz
mpd-0366adddbd0c09e0977f9fa574918868d6921744.tar.xz
mpd-0366adddbd0c09e0977f9fa574918868d6921744.zip
client: remove "expire" event on exit
Diffstat (limited to '')
-rw-r--r--src/client.c3
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