GLib.MainLoop.prototype.unref

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

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