diff --git a/src/xwayland/Server.cpp b/src/xwayland/Server.cpp index 510ad737..26010cfb 100644 --- a/src/xwayland/Server.cpp +++ b/src/xwayland/Server.cpp @@ -262,8 +262,9 @@ void CXWaylandServer::die() { if (xwmFDs[1]) close(xwmFDs[1]); - if (xwaylandClient) - wl_client_destroy(xwaylandClient); + // possible crash. Better to leak a bit. + //if (xwaylandClient) + // wl_client_destroy(xwaylandClient); xwaylandClient = nullptr; waylandFDs = {-1, -1};