mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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.
This commit is contained in:
parent
c295e4a0b7
commit
3bcba67c33
1 changed files with 2 additions and 0 deletions
|
|
@ -589,9 +589,11 @@ main (int argc, char **argv)
|
||||||
|
|
||||||
shell_profiler_shutdown ();
|
shell_profiler_shutdown ();
|
||||||
|
|
||||||
|
#if 0
|
||||||
g_debug ("Doing final cleanup");
|
g_debug ("Doing final cleanup");
|
||||||
_shell_global_destroy_gjs_context (shell_global_get ());
|
_shell_global_destroy_gjs_context (shell_global_get ());
|
||||||
g_object_unref (shell_global_get ());
|
g_object_unref (shell_global_get ());
|
||||||
|
#endif
|
||||||
|
|
||||||
return ecode;
|
return ecode;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue