Skip to content

Fixed issue#1507 : Memory leak happening while using registerModule/u… #1508

New issue

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

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

Already on GitHub? # to your account

Merged
merged 3 commits into from
Mar 25, 2019

Conversation

parth67
Copy link
Contributor

@parth67 parth67 commented Feb 14, 2019

Fixes #1507

Closure function was fixed with helper function partial which doesn't retain oldVm in environment.

@eladcandroid
Copy link

Can you please merge it?

@ktsn ktsn merged commit cb9986a into vuejs:dev Mar 25, 2019
vaga pushed a commit to vaga/vuex that referenced this pull request Apr 20, 2020
* Fixed issue#1507 : Memory leak happening while using registerModule/unregisterModule.

* Adding comment for leak description. Simplyfy partial function to take only one argument.

* Removed oldVm.computed = null. This statement is not required
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Memory leak happening while using registerModule/unregisterModule.
3 participants