From 3821c84d6468a56dd0ee65e6f00eabbb04d698b3 Mon Sep 17 00:00:00 2001 From: sharkautarch <128002472+sharkautarch@users.noreply.github.com> Date: Tue, 3 Dec 2024 13:31:37 -0500 Subject: [PATCH] wlserver: wlserver_run(): ensure waylock is released when wl_event_loop_dispatch returns ret<0 --- src/wlserver.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wlserver.cpp b/src/wlserver.cpp index 78a86ee0e2..4ce9511352 100644 --- a/src/wlserver.cpp +++ b/src/wlserver.cpp @@ -1956,6 +1956,7 @@ void wlserver_run(void) wl_display_flush_clients(wlserver.display); int ret = wl_event_loop_dispatch(wlserver.event_loop, 0); if (ret < 0) { + wlserver_unlock(); break; }