GLib.Source.prototype.unref

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

Decreases the reference count of a source by one. If the resulting reference count is zero the source and associated memory will be destroyed.