summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rwxr-xr-xcontrol-center2
2 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index e9cd2ad8..4c014ad8 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- Workaround a segfault on exit (mga#26944)
+
Version 13.25 - 11 January 2021, by Donald Stewart
- Artwork for Mga8
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);
}