mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
79ae35577e
In this commit, we check whether the application is destroyed before initializing event replay. The application may be destroyed before it becomes stable, so when the `whenStable` resolves, the injector might already be in a destroyed state. As a result, calling `injector.get` would throw an error indicating that the injector has already been destroyed. PR Close #59789