Closed arturovt closed 1 year ago
Thanks for the contribution! Have you signed the CLA?
Yeah, I received and email and went through the form
@vokiel could you check?
Fixed :+1:
@arturovt, thanks for the PR. Could you please add a test that covers the change? I am not sure if I understood it correctly and such could help. Also, it prevents introducing a regression in the future.
@pomek updated
Thanks @arturovt for the PR. It will be included in the upcoming release that should happen this week.
Suggested merge commit message (convention)
Fix: Do not run change detection if
error
does not have observers.The
ngZone.run
is used to re-enter the Angular zone and notify that something may have potentially changed to force Angular to run change detection. The change detection is considered as no-op change detection; basicallytick()
has run but nothing has changed. There's no reason to triggerngZone.run
when developers are not listening to theerror
event in their code.Additional information
For example – encountered issues, assumptions you had to make, other affected tickets, etc.