Gio.Resource.prototype.unref
function unref(): void {
// Gjs wrapper for g_resource_unref()
}
Atomically decrements the reference count of resource by one. If the reference count drops to 0, all memory allocated by the array is released. This function is MT-safe and may be called from any thread.
Since 2.32