Skip to content

fix(core): cleanup signal consumers for all views#53351

Closed
JoostK wants to merge 1 commit intoangular:mainfrom
JoostK:signals/destroy-all-views
Closed

fix(core): cleanup signal consumers for all views#53351
JoostK wants to merge 1 commit intoangular:mainfrom
JoostK:signals/destroy-all-views

Conversation

@JoostK
Copy link
Copy Markdown
Member

@JoostK JoostK commented Dec 4, 2023

This commit fixes a memory leak where signal consumers would not be cleaned up for descendant views when a view is destroyed, because the cleanup logic was only invoked for the view that is itself being destroyed.

This commit fixes a memory leak where signal consumers would not be cleaned up for
descendant views when a view is destroyed, because the cleanup logic was only invoked
for the view that is itself being destroyed.
@JoostK JoostK 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 cross-cutting: signals labels Dec 4, 2023
@ngbot ngbot bot modified the milestone: Backlog Dec 4, 2023
@atscott atscott 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 Dec 4, 2023
@JoostK JoostK marked this pull request as ready for review December 4, 2023 18:28
@dylhunn
Copy link
Copy Markdown
Contributor

dylhunn commented Dec 5, 2023

This PR was merged into the repository by commit 77939a3.

@dylhunn dylhunn closed this in 77939a3 Dec 5, 2023
dylhunn pushed a commit that referenced this pull request Dec 5, 2023
This commit fixes a memory leak where signal consumers would not be cleaned up for
descendant views when a view is destroyed, because the cleanup logic was only invoked
for the view that is itself being destroyed.

PR Close #53351
@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 Jan 5, 2024
ChellappanRajan pushed a commit to ChellappanRajan/angular that referenced this pull request Jan 23, 2024
This commit fixes a memory leak where signal consumers would not be cleaned up for
descendant views when a view is destroyed, because the cleanup logic was only invoked
for the view that is itself being destroyed.

PR Close angular#53351
rlmestre pushed a commit to rlmestre/angular that referenced this pull request Jan 26, 2024
This commit fixes a memory leak where signal consumers would not be cleaned up for
descendant views when a view is destroyed, because the cleanup logic was only invoked
for the view that is itself being destroyed.

PR Close angular#53351
amilamen pushed a commit to amilamen/angular that referenced this pull request Jan 26, 2024
This commit fixes a memory leak where signal consumers would not be cleaned up for
descendant views when a view is destroyed, because the cleanup logic was only invoked
for the view that is itself being destroyed.

PR Close angular#53351
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 cross-cutting: signals target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants