Skip to content

refactor(core): Use promise.finally for task removal#62674

Closed
atscott wants to merge 1 commit intoangular:mainfrom
atscott:promisefinally
Closed

refactor(core): Use promise.finally for task removal#62674
atscott wants to merge 1 commit intoangular:mainfrom
atscott:promisefinally

Conversation

@atscott
Copy link
Copy Markdown
Contributor

@atscott atscott commented Jul 16, 2025

Updates the approach from #62631 to use Promise.finally for task removal. This is a bit cleaner and also handles rejections from the donePromise

Updates the approach from angular#62631 to
use Promise.finally for task removal. This is a bit cleaner and also handles
rejections from the donePromise
@atscott atscott requested a review from thePunderWoman July 16, 2025 20:21
@atscott atscott added the target: patch This PR is targeted for the next patch release label Jul 16, 2025
@angular-robot angular-robot bot added the area: core Issues related to the framework runtime label Jul 16, 2025
@ngbot ngbot bot added this to the Backlog milestone Jul 16, 2025
Copy link
Copy Markdown
Contributor

@thePunderWoman thePunderWoman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@atscott atscott added the action: merge The PR is ready for merge by the caretaker label Jul 16, 2025
@kirjs
Copy link
Copy Markdown
Contributor

kirjs commented Jul 18, 2025

This PR was merged into the repository by commit 448a7f7.

The changes were merged into the following branches: main, 20.1.x

kirjs pushed a commit that referenced this pull request Jul 18, 2025
Updates the approach from #62631 to
use Promise.finally for task removal. This is a bit cleaner and also handles
rejections from the donePromise

PR Close #62674
@kirjs kirjs closed this in 448a7f7 Jul 18, 2025
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Aug 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: core Issues related to the framework runtime target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants