Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(core): avoid changes Observable creation on QueryList (angular#5…
…3498) The changes Observable (impl: EventEmitter) on the QueryList is initalized lazy - it is created only if someone calls a geter to get a hand on its instance. But the destroy method was calling this getter thus creating a new Observable even if no one subscribed to it. This commit changes the destroy logic to skip creation of an EventEmitter if it wasn't initialized. PR Close angular#53498
- Loading branch information