mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
e3da35ec74
In this commit, we prevent error handling when the root injector is already destroyed. This may happen when the observable completes before emitting a value, which would trigger a `catchError` block that attempts to call `runInInjectionContext` on a destroyed injector. PR Close #59457