fix(http): wait for all XHR requests to finish before stabilizing application#49776
fix(http): wait for all XHR requests to finish before stabilizing application#49776alan-agius4 wants to merge 1 commit intoangular:mainfrom
Conversation
16555a4 to
36177ff
Compare
|
For visibility, I did try to use |
4e12fba to
1aa60ff
Compare
AndrewKushnir
left a comment
There was a problem hiding this comment.
Looks great, thanks for the fix Alan 👍
AndrewKushnir
left a comment
There was a problem hiding this comment.
Reviewed-for: public-api
jessicajaniuk
left a comment
There was a problem hiding this comment.
reviewed-for: public-api
…lication Previously, since the `HttpXhrBackend` is a singleton, the macrotask was created and completed only for the initial request since it was stored as in property in the class instance. This commit replaces this logic to create a macro task for every XHR request. Closes angular#49730
1aa60ff to
75acf24
Compare
|
This PR was merged into the repository by commit 079f4bc. |
…lication (#49776) Previously, since the `HttpXhrBackend` is a singleton, the macrotask was created and completed only for the initial request since it was stored as in property in the class instance. This commit replaces this logic to create a macro task for every XHR request. Closes #49730 PR Close #49776
|
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. |


Previously, since the
HttpXhrBackendis a singleton, the macrotask was created and completed only for the initial request since it was stored as in property in the class instance. This commit replaces this logic to create a macro task for every XHR request.Closes #49730