gnome-shell/gnome-shell-exit-crash-workaround.patch
Bjørn Lie 0819c6e8d7 Accepting request 941208 from home:qkzhu:branches:GNOME:Factory
- Add gnome-shell-exit-crash-workaround.patch: 
  + Backport from Ubuntu, This is a workaround to maintain a clean
    environment for gnome-shell and particularly JavaScript/GJS to
    shutdown without crashing.
  + Proper fixes are still pending
    https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1759
    https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/648
    (bsc#1190878 glgo#GNOME/gnome-shell#4344).

OBS-URL: https://build.opensuse.org/request/show/941208
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-shell?expand=0&rev=492
2021-12-17 21:39:58 +00:00

14 lines
308 B
Diff

diff --git a/src/main.c b/src/main.c
index 3cd9e10..557f35a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -566,7 +566,7 @@ main (int argc, char **argv)
ecode = EXIT_FAILURE;
}
- meta_context_destroy (g_steal_pointer (&context));
+ g_steal_pointer (&context);
shell_profiler_shutdown ();