aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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