diff options
author | Pascal Terjan <pterjan@mageia.org> | 2021-02-01 20:19:41 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2021-02-01 20:19:41 +0000 |
commit | da9dd0e11ae6c11740c0909d1c17272706808987 (patch) | |
tree | e7d824fb0ec57c8c26cfd1d5ea82524d7b0b7ed6 | |
parent | dab58639b535fea4f8905cef190942131d6cb0fa (diff) | |
download | control-center-da9dd0e11ae6c11740c0909d1c17272706808987.tar control-center-da9dd0e11ae6c11740c0909d1c17272706808987.tar.gz control-center-da9dd0e11ae6c11740c0909d1c17272706808987.tar.bz2 control-center-da9dd0e11ae6c11740c0909d1c17272706808987.tar.xz control-center-da9dd0e11ae6c11740c0909d1c17272706808987.zip |
Workaround a segfault on exit
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-- | NEWS | 2 | ||||
-rwxr-xr-x | control-center | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -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); } |