db-move: moved evolution from [testing] to [extra] (x86_64)
[arch-packages.git] / gnome-shell / trunk / 0001-main-Leak-the-GJS-context-and-ShellGlobal.patch
blob1e4188749f0b2bd1d1a643ed10977ea3fbe52628
1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Jonas=20=C3=85dahl?= <jadahl@gmail.com>
3 Date: Wed, 6 Oct 2021 10:00:43 +0200
4 Subject: [PATCH] main: Leak the GJS context and ShellGlobal
6 There are many crash-on-exit happening as a side effect of destroying
7 the GJS context. Work around these until we have a better solution by
8 leaking them.
9 ---
10 src/main.c | 2 ++
11 1 file changed, 2 insertions(+)
13 diff --git a/src/main.c b/src/main.c
14 index 29275cda0725..2311a74bd110 100644
15 --- a/src/main.c
16 +++ b/src/main.c
17 @@ -589,9 +589,11 @@ main (int argc, char **argv)
19 shell_profiler_shutdown ();
21 +#if 0
22 g_debug ("Doing final cleanup");
23 _shell_global_destroy_gjs_context (shell_global_get ());
24 g_object_unref (shell_global_get ());
25 +#endif
27 return ecode;