register
Registers an object and a cleaning action to run when the object becomes phantom reachable. Refer to the API Note for cautions about the behavior of cleaning actions.
Registers an object and a cleaning action to run when the object becomes phantom reachable. Refer to the API Note for cautions about the behavior of cleaning actions.