Destroys the given object and optionally resets to initial state. It's used to
destroy an object, calling its destructor or finalizer so it no longer
references any other objects. It does not initiate a GC cycle or free
any GC memory.
If initialize is supplied false, the object is considered invalid after
destruction, and should not be referenced.
Destroys the given object and optionally resets to initial state. It's used to destroy an object, calling its destructor or finalizer so it no longer references any other objects. It does not initiate a GC cycle or free any GC memory. If initialize is supplied false, the object is considered invalid after destruction, and should not be referenced.