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

_free function not exported in wasm module generated by plugin-wasm #474

Closed
chrispcampbell opened this issue May 2, 2024 · 0 comments · Fixed by #475 or #476
Closed

_free function not exported in wasm module generated by plugin-wasm #474

chrispcampbell opened this issue May 2, 2024 · 0 comments · Fixed by #475 or #476

Comments

@chrispcampbell
Copy link
Contributor

The WasmModule interface expects the _free function to be exported (for the purposes of disposing a WasmBuffer). Up until now, the WasmBuffer.dispose method wasn't called as part of other constructs, but when I started fixing that (for #471), the dispose call would throw an error because _free is not available.

We need to update EXPORTED_FUNCTIONS in plugin-wasm to include _free and update related documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant