GLib.MappedFile.prototype.unref

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

Decrements the reference count of file by one. If the reference count drops to 0, unmaps the buffer of file and frees it.

It is safe to call this function from any thread.

Since 2.22