From da9dd0e11ae6c11740c0909d1c17272706808987 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Mon, 1 Feb 2021 20:19:41 +0000 Subject: 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). --- control-center | 2 ++ 1 file changed, 2 insertions(+) (limited to 'control-center') 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); } -- cgit v1.2.1