unregister
This function remove the register of the object from the finalization registry, so the callback will not be called anymore.
Since
v22.5.0
Parameters
ref
The reference to the resource that was registered previously.
This function remove the register of the object from the finalization registry, so the callback will not be called anymore.
v22.5.0
The reference to the resource that was registered previously.