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

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

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.

src/store.js Show resolved Hide resolved
src/util.js Outdated Show resolved Hide resolved
src/store.js Outdated Show resolved Hide resolved
@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
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.

Memory leak happening while using registerModule/unregisterModule.
3 participants