mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
544b9ee7ca
In this commit, we check whether the application is destroyed before printing hydration stats. The application may be destroyed before it becomes stable, so when the `whenStableWithTimeout` 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 #59716