reclaim method

  1. @override
void reclaim()
override

Reclaims of the object. If the object hasn't already been reclaimed of, calls {@link #reclaimInternal}. Classes that extend {@code goog.Reclaimable} should override {@link #reclaimInternal} in order to delete references to COM objects, DOM nodes, and other reclaimable objects. Reentrant.

DO NOT OVERRIDE.

Implementation

@override
void reclaim()
{
  if (!this._reclaimed) {
    // Set reclaimed to true first, in case during the chain of disposal this
    // gets reclaimed recursively.
    this._reclaimed = true;

    _reclaimOwnedReclaimables();

    reclaimInternal();
  }
}