From 54fcb27457dd8068cce19740989ce35a02183ec5 Mon Sep 17 00:00:00 2001 From: Zedhugh Chen Date: Sun, 24 Aug 2025 21:23:24 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=80=E5=87=BA=E7=A8=8B=E5=BA=8F=E6=97=B6?= =?UTF-8?q?=E6=B8=85=E7=90=86=E4=B8=BB=E5=BE=AA=E7=8E=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.c b/src/main.c index 12f5538..ab41731 100644 --- a/src/main.c +++ b/src/main.c @@ -903,6 +903,9 @@ gboolean handle_xcb_event(GIOChannel *channel, GIOCondition condition, } void cleanup(void) { + g_main_loop_unref(loop); + loop = NULL; + monitor_t *m = monitors; client_t *c = m->clients; while (m) {