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