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

fix: ensure extism functions are freed #17

Merged
merged 1 commit into from
Nov 3, 2023
Merged

fix: ensure extism functions are freed #17

merged 1 commit into from
Nov 3, 2023

Conversation

zshipko
Copy link
Contributor

@zshipko zshipko commented Nov 3, 2023

Fixes #12 using a similar approach to how plugins are cleaned up using ObjectSpace.define_finalizer

@zshipko zshipko merged commit afa5932 into main Nov 3, 2023
3 checks passed
@zshipko zshipko deleted the free-functions2 branch November 3, 2023 16:56
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.

Functions created with extism_function_new should be freed using extism_function_free
1 participant