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

Switch from wee_alloc to default memory allocator, fix memory leak #4

Merged
merged 1 commit into from Apr 16, 2022

Conversation

donmccurdy
Copy link
Owner

Reverts 3243dd9, from #2. Fixes #3 (memory leak), possibly caused by rustwasm/wee_alloc#106. Adds a unit test to verify memory allocation over time. Increases minzipped bundle size by about 3kb. Thanks to @TyLindberg for the issue report!

@donmccurdy donmccurdy added the bug Something isn't working label Apr 16, 2022
@donmccurdy donmccurdy merged commit fc4b22b into main Apr 16, 2022
@donmccurdy donmccurdy deleted the hotfix/memory-leak-wee-alloc branch April 16, 2022 15:03
@donmccurdy
Copy link
Owner Author

Published as v1.1.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Potential WebAssembly memory leak
1 participant