GLib.MainContext.prototype.unref

function unref(): void {
    // Gjs wrapper for g_main_context_unref()
}
  

Decreases the reference count on a GLib.MainContext object by one. If the result is zero, free the context and free all associated memory.