GNOME Bugzilla – Bug 608095
[ShellGlobal] Add shell_global_gc
Last modified: 2010-02-01 21:08:53 UTC
Primarily useful for debugging. This was originally a patch against gjs: https://bugzilla.gnome.org/show_bug.cgi?id=595323 But rather than add a random toplevel module just for this function effectively, we can easily enough define it here. Adding toplevel modules to GScript should have a bit more formal process to it.
Created attachment 152267 [details] [review] [ShellGlobal] Add shell_global_gc
Review of attachment 152267 [details] [review]: Patch looks obviously, fine but deps on an uncommitted GJS bug, so please don't commit despite me marking accepted-commit-now ::: src/shell-global.c @@ +825,3 @@ + JSContext *context = gjs_context_get_context (global->js_context); + + JS_GC(context); Missing space