registerReclaimable abstract method

void registerReclaimable(
  1. IReclaimable reclaimable
)

Chains together objects, so when over is reclaimed, children are reclaimed

  • Application: Component reclaim reclaims listeners as those objects are owned by component
    
  • Associates a reclaimable object with this object so that they will be reclaimed
  • together.
  • @param {goog.reclaimable.IReclaimable} reclaimable that will be reclaimed when
  • this object is reclaimed.
    

Implementation

void registerReclaimable(IReclaimable reclaimable);