fix(common): prevent reading chunks if app is destroyed#61354
fix(common): prevent reading chunks if app is destroyed#61354arturovt wants to merge 1 commit intoangular:mainfrom
Conversation
Prevents processing response chunks after the application has been destroyed.
Prevents processing response chunks after the application has been destroyed. PR Close #61354
Prevents processing response chunks after the application has been destroyed. PR Close #61354
|
This PR was merged into the repository by commit 8768894. The changes were merged into the following branches: main, 19.2.x, 20.0.x |
|
This commit resulted in a CRITICAL bug! Now the application can't be started at all. the error occurs: "RuntimeError: NG0200: Circular dependency in DI detected for _ApplicationRef. Find more at https://angular.dev/errors/NG0200". The source of the problem is the code: private readonly appRef = inject(ApplicationRef); |
If you're experiencing a critical bug, file an issue with a minimal reproduction and we'll look at it. |
|
@ZixZux we need a minimal reproducible example, I don't have any apps failing with this error. |
…lar#61354)" This reverts commit 8768894.
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Prevents processing response chunks after the application has been destroyed.