Skip to content
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

fix: ensure cleanup in watcher.get #5988

Merged
merged 1 commit into from
Jun 29, 2017
Merged

Conversation

HerringtonDarkholme
Copy link
Member

watcher.get should always clean up observee stack in order to prevent memory leak. Also, non-user
defined watch should rethrow error.

#5975

watcher.get should always clean up observee stack in order to prevent memory leak. Also, non-user
defined watch should rethrow error.

vuejs#5975
Copy link
Member

@Kingwl Kingwl left a comment

Choose a reason for hiding this comment

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

LGTM👍

@yyx990803 yyx990803 merged commit f6cd44c into vuejs:dev Jun 29, 2017
jskrzypek pushed a commit to jskrzypek/vue that referenced this pull request Jul 6, 2017
watcher.get should always clean up observee stack in order to prevent memory leak. Also, non-user
defined watch should rethrow error.

fix vuejs#5975
jskrzypek added a commit to jskrzypek/vue that referenced this pull request Jul 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants