Skip to content

fix: avoid memory leak and concurrency issues - #157

Merged
UziTech merged 1 commit into
markedjs:masterfrom
tripodsan:fix-memory-leak
Mar 12, 2022
Merged

UziTech merged 1 commit into
markedjs:masterfrom
tripodsan:fix-memory-leak

Conversation

@tripodsan

Copy link
Copy Markdown

fixes #156

  • moved global token to field (fixes memory leak)
  • moved global options to field (fixes reentrance problem when using several html differs with different options)

@UziTech UziTech left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for working on this! 💯

@UziTech
UziTech merged commit b5f8c58 into markedjs:master Mar 12, 2022
github-actions Bot pushed a commit that referenced this pull request Mar 12, 2022
## [4.0.1](v4.0.0...v4.0.1) (2022-03-12)

### Bug Fixes

* avoid memory leak and concurrency issues ([#157](#157)) ([b5f8c58](b5f8c58))
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 4.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@tripodsan
tripodsan deleted the fix-memory-leak branch March 12, 2022 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

global modifiedTokens cause memory leak

2 participants