docs/vendor.js
function queueDestroyHooks(def, tView, i) {
    if (def.onDestroy != null) {
        (tView.destroyHooks || (tView.destroyHooks = [])).push(i, def.onDestroy);
    }
}
function queueDestroyHooks(def, tView, i) {
    if (def.onDestroy != null) {
        (tView.destroyHooks || (tView.destroyHooks = [])).push(i, def.onDestroy);
    }
}
function queueDestroyHooks ( def , tView , i ) { if ( def . onDestroy != null ) { ( tView . destroyHooks || ( tView . destroyHooks = [ ] ) ) . push ( i , def . onDestroy ) ; } }
Queues onDestroy hooks on TView
Queues onDestroy hooks on TView