GLib.DateTime.prototype.unref

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

Atomically decrements the reference count of datetime by one.

When the reference count reaches zero, the resources allocated by datetime are freed

Since 2.26