refactor(ivy): remove TView.pipeDestroyHooks (#27955)

PR Close #27955
This commit is contained in:
Marc Laval
2019-01-07 10:38:55 +01:00
committed by Kara Erickson
parent 45880532bf
commit 996435b79a
5 changed files with 1 additions and 26 deletions

View File

@ -437,17 +437,6 @@ export interface TView {
*/
destroyHooks: HookData|null;
/**
* Array of pipe ngOnDestroy hooks that should be executed when this view is destroyed.
*
* Even indices: Index of pipe in data
* Odd indices: Hook function
*
* These must be stored separately from directive destroy hooks because their contexts
* are stored in data.
*/
pipeDestroyHooks: HookData|null;
/**
* When a view is destroyed, listeners need to be released and outputs need to be
* unsubscribed. This cleanup array stores both listener data (in chunks of 4)