refactor(ivy): remove unused code related to listeners clanup (#29725)

PR Close #29725
This commit is contained in:
Pawel Kozlowski
2019-04-05 15:30:04 +02:00
committed by Igor Minar
parent 902a53a4f6
commit 38a3a5a1f1
2 changed files with 2 additions and 11 deletions

View File

@ -539,11 +539,6 @@ export interface TView {
* `useCaptureOrIndx >= 0` `removeListener = LView[CLEANUP][useCaptureOrIndx]`
* `useCaptureOrIndx < 0` `subscription = LView[CLEANUP][-useCaptureOrIndx]`
*
* If it's a renderer2 style listener or ViewRef destroy hook being stored:
* 1st index is: index of the cleanup function in LView.cleanupInstances[]
* 2nd index is: `null`
* `lView[CLEANUP][tView.cleanup[i+0]]()`
*
* If it's an output subscription or query list destroy hook:
* 1st index is: output unsubscribe function / query list destroy function
* 2nd index is: index of function context in LView.cleanupInstances[]