Commit bfddeeab authored by Philip Chimento's avatar Philip Chimento 🚮

Merge branch 'force-gc-harder' into 'master'

context: Ensure force_gc flag is not lost if the idle is scheduled

Closes #150

See merge request !132
parents df4c6b61 c0420db9
Pipeline #10080 passed with stages
in 57 minutes and 56 seconds
......@@ -609,10 +609,11 @@ static void
_gjs_context_schedule_gc_internal(GjsContext *js_context,
bool force_gc)
js_context->force_gc |= force_gc;
if (js_context->auto_gc_id > 0)
js_context->force_gc |= force_gc;
js_context->auto_gc_id = g_idle_add_full(G_PRIORITY_LOW,
js_context, NULL);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment