X Tutup
Skip to content

fix(upgrade): clean up scope when element is destroyed#8102

Closed
andreialecu wants to merge 1 commit intoangular:masterfrom
andreialecu:patch-3
Closed

fix(upgrade): clean up scope when element is destroyed#8102
andreialecu wants to merge 1 commit intoangular:masterfrom
andreialecu:patch-3

Conversation

@andreialecu
Copy link
Copy Markdown
Contributor

@andreialecu andreialecu commented Apr 16, 2016

This fixes a bug with change detection still being processed for destroyed components, and is a memory leak fix in itself.

I'm not sure how to test it since the error that this fixes is not catchable. It happens in a change detector.

  • What is the current behavior? (You can also link to an open issue here)

See #8100

  • What is the new behavior (if this is a feature change)?

The only change is to properly dispose the cloned scope when the element is destroyed.

  • Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

No

  • Other information:

@mary-poppins
Copy link
Copy Markdown

Merging PR #8102 on behalf of @robertmesserle to branch presubmit-robertmesserle-pr-8102.

@mary-poppins
Copy link
Copy Markdown

Merging PR #8102 on behalf of @robertmesserle to branch presubmit-robertmesserle-pr-8102.

@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 Sep 8, 2019
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 cla: yes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

X Tutup