diff --git a/src/mango.c b/src/mango.c index badbe0e5..63402c11 100644 --- a/src/mango.c +++ b/src/mango.c @@ -2592,6 +2592,8 @@ void cleanuplisteners(void) { } void cleanup(void) { + allow_frame_scheduling = false; + ipc_cleanup(); cleanuplisteners(); #ifdef XWAYLAND