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

Init Wasm module only once in browsers #615

Merged
merged 2 commits into from Oct 30, 2023
Merged

Conversation

mischnic
Copy link
Member

@mischnic mischnic commented Oct 27, 2023

If you always (conservatively) call await init(), e.g. like Parcel now does in CSSTransformer.js on every file transformation, the wasm module is constantly re-initialized.

@devongovett devongovett merged commit d225d68 into master Oct 30, 2023
3 checks passed
@devongovett devongovett deleted the wasm-browser-init-once branch October 30, 2023 19:09
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