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; }