Blame SOURCES/0001-main-Leak-the-GJS-context-and-ShellGlobal.patch

f648b7
From a9e79b1657dc7c1b702d7acc4d322539d2b8b6aa Mon Sep 17 00:00:00 2001
f648b7
From: =?UTF-8?q?Jonas=20=C3=85dahl?= <jadahl@gmail.com>
f648b7
Date: Wed, 6 Oct 2021 10:00:43 +0200
f648b7
Subject: [PATCH] main: Leak the GJS context and ShellGlobal
f648b7
f648b7
There are many crash-on-exit happening as a side effect of destroying
f648b7
the GJS context. Work around these until we have a better solution by
f648b7
leaking them.
f648b7
---
f648b7
 src/main.c | 2 ++
f648b7
 1 file changed, 2 insertions(+)
f648b7
f648b7
diff --git a/src/main.c b/src/main.c
f648b7
index 91e5493fd1..d62dda9627 100644
f648b7
--- a/src/main.c
f648b7
+++ b/src/main.c
f648b7
@@ -508,9 +508,11 @@ main (int argc, char **argv)
f648b7
   ecode = meta_run ();
f648b7
   shell_profiler_shutdown ();
f648b7
 
f648b7
+#if 0
f648b7
   g_debug ("Doing final cleanup");
f648b7
   _shell_global_destroy_gjs_context (shell_global_get ());
f648b7
   g_object_unref (shell_global_get ());
f648b7
+#endif
f648b7
 
f648b7
   return ecode;
f648b7
 }
f648b7
-- 
f648b7
2.31.1
f648b7