Skip to content

fix(core): prevent invoking replay listeners on disconnected nodes#60103

Closed
thePunderWoman wants to merge 1 commit intoangular:mainfrom
thePunderWoman:replay-disconnected
Closed

fix(core): prevent invoking replay listeners on disconnected nodes#60103
thePunderWoman wants to merge 1 commit intoangular:mainfrom
thePunderWoman:replay-disconnected

Conversation

@thePunderWoman
Copy link
Copy Markdown
Contributor

This prevents replay from happening on nodes that have been removed from the DOM.

fixes: #59841

Does this PR introduce a breaking change?

  • Yes
  • No

This prevents replay from happening on nodes that have been removed from the DOM.

fixes: angular#59841
@thePunderWoman thePunderWoman added action: review The PR is still awaiting reviews from at least one requested reviewer area: core Issues related to the framework runtime target: patch This PR is targeted for the next patch release labels Feb 25, 2025
@ngbot ngbot bot added this to the Backlog milestone Feb 25, 2025
}
}

export function invokeRegisteredDelegationListeners(event: Event) {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Turns out this function wasn't being used anywhere.

@thePunderWoman thePunderWoman added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Feb 26, 2025
@thePunderWoman thePunderWoman requested review from AndrewKushnir and removed request for AndrewKushnir February 26, 2025 17:57
@mmalerba
Copy link
Copy Markdown
Contributor

This PR was merged into the repository by commit 0dbf693.

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

mmalerba pushed a commit that referenced this pull request Feb 27, 2025
…60103)

This prevents replay from happening on nodes that have been removed from the DOM.

fixes: #59841

PR Close #60103
@mmalerba mmalerba closed this in 0dbf693 Feb 27, 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 Mar 30, 2025
@thePunderWoman thePunderWoman deleted the replay-disconnected branch May 23, 2025 13:47
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.

Events are replayed on already destroyed components

4 participants