summaryrefslogtreecommitdiffstats
path: root/control-center
diff options
context:
space:
mode:
Diffstat (limited to 'control-center')
-rwxr-xr-xcontrol-center2
1 files changed, 2 insertions, 0 deletions
diff --git a/control-center b/control-center
index fe20eb38..60ecafc8 100755
--- a/control-center
+++ b/control-center
@@ -1292,6 +1292,8 @@ sub quit_global() {
WIDTH => $x,
});
gtkset_mousecursor_normal();
+ # Workaround a segfault on exit by manually destroying the window before exit()
+ $window_global->destroy;
standalone::exit(0);
}