Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(core): takeUntilDestroyed completes immediately if DestroyRef a… #61847

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

atscott
Copy link
Contributor

@atscott atscott commented Jun 3, 2025

…lready destroyed

Adds fix directly for takeUntilDestroyed to unsubscribe when already destroyed instead of putting
synchronous behavior on DestroyRef.onDestroyed callback as in #58008

fixes #54527

…lready destroyed

Adds fix directly for `takeUntilDestroyed` to unsubscribe when already
destroyed instead of putting
synchronous behavior on `DestroyRef.onDestroyed` callback as in angular#58008

fixes angular#54527
@atscott atscott added the target: patch This PR is targeted for the next patch release label Jun 3, 2025
@angular-robot angular-robot bot added the area: core Issues related to the framework runtime label Jun 3, 2025
@ngbot ngbot bot added this to the Backlog milestone Jun 3, 2025
@atscott atscott added the requires: TGP This PR requires a passing TGP before merging is allowed label Jun 3, 2025
@pullapprove pullapprove bot removed the requires: TGP This PR requires a passing TGP before merging is allowed label Jun 3, 2025
@atscott atscott added the action: merge The PR is ready for merge by the caretaker label Jun 4, 2025
@ngbot
Copy link

ngbot bot commented Jun 4, 2025

I see that you just added the action: merge label, but the following checks are still failing:
    failure status "google-internal-tests" is failing
    pending status "mergeability" is pending

If you want your PR to be merged, it has to pass all the CI checks.

If you can't get the PR to a green state due to flakes or broken main, please try rebasing to main and/or restarting the CI job. If that fails and you believe that the issue is not due to your change, please contact the caretaker and ask for help.

@atscott atscott added requires: TGP This PR requires a passing TGP before merging is allowed and removed action: merge The PR is ready for merge by the caretaker labels Jun 4, 2025
@pullapprove pullapprove bot removed the requires: TGP This PR requires a passing TGP before merging is allowed label Jun 4, 2025
@atscott
Copy link
Contributor Author

atscott commented Jun 4, 2025

TGP

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

kirjs commented Jun 4, 2025

This PR was merged into the repository by commit 2bd3a43.

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

kirjs pushed a commit that referenced this pull request Jun 4, 2025
…lready destroyed (#61847)

Adds fix directly for `takeUntilDestroyed` to unsubscribe when already
destroyed instead of putting
synchronous behavior on `DestroyRef.onDestroyed` callback as in #58008

fixes #54527

PR Close #61847
@kirjs kirjs closed this in 2bd3a43 Jun 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.

NG0911: View has already been destroyed.
3 participants