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 memory leak - State objects had been retained in closures #1023

Merged
merged 1 commit into from
Feb 24, 2020

Conversation

Andarist
Copy link
Member

config had a reference to .history and it had managed to "recursively" retain all of the past histories through closures, as we copy the configuration onto the this anyway the fix was simple - just use a different object to access it.

@changeset-bot
Copy link

changeset-bot bot commented Feb 24, 2020

🦋 Changeset is good to go

Latest commit: 1ae31c1

We got this.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 1ae31c1:

Sandbox Source
summer-tdd-eqc9e Configuration
vibrant-field-exqgl Configuration

@davidkpiano davidkpiano merged commit 95009b9 into master Feb 24, 2020
@davidkpiano davidkpiano deleted the fix/mem-leak branch February 24, 2020 23:15
@github-actions github-actions bot mentioned this pull request Feb 24, 2020
@github-actions github-actions bot mentioned this pull request Mar 4, 2020
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.

None yet

2 participants