Intercept function calls for garbage collection.
The returned object of the call will be added to the garbage collection list. When cleanup() called, the delete() method on that object will be called.
cleanup()
delete()
Intercept function calls for garbage collection.
The returned object of the call will be added to the garbage collection list. When
cleanup()called, thedelete()method on that object will be called.