summaryrefslogtreecommitdiff
path: root/src/xwayland/Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xwayland/Server.cpp')
-rw-r--r--src/xwayland/Server.cpp5
1 files changed, 3 insertions, 2 deletions
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};