GObject.Object.prototype.run_dispose

function run_dispose(): void {
    // Gjs wrapper for g_object_run_dispose()
}
  

Releases all references to other objects. This can be used to break reference cycles.

This functions should only be called from object system implementations.