summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2021-02-01 20:19:41 +0000
committerPascal Terjan <pterjan@mageia.org>2021-02-02 22:10:46 +0000
commit1e507eccf37244fe0d9e8ed242fee24dd84da491 (patch)
tree68ff8b81f5f84f5a4c2d8d4372b82fa9a755f98b
parent75f43c31fb059a4211be9e82d14638ee3549dc05 (diff)
downloadcontrol-center-13.21.1.tar
control-center-13.21.1.tar.gz
control-center-13.21.1.tar.bz2
control-center-13.21.1.tar.xz
control-center-13.21.1.zip
Workaround a segfault on exit13.21.1
There seems to be some race causing a segfault during cleanup on exit. Prevent it by destroying the window manually earlier (mga#26944).
-rw-r--r--Makefile2
-rw-r--r--NEWS4
-rwxr-xr-xcontrol-center2
3 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bb39b4db..3fe13f84 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-VERSION = 13.21
+VERSION = 13.21.1
NAME = drakconf
GITNAME = control-center
SUBDIRS = po pixmaps polkit #data
diff --git a/NEWS b/NEWS
index d94b3d28..318a3221 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+Version 13.21.1 - 2 February 2021
+
+- Workaround a segfault on exit (mga#26944)
+
Version 13.21 - 4 May 2019
- Mga 7 artwork
diff --git a/control-center b/control-center
index dfaffdb9..e0a0c50a 100755
--- a/control-center
+++ b/control-center
@@ -1291,6 +1291,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);
}