Skip to content

Conversation

@yamt
Copy link
Collaborator

@yamt yamt commented Oct 27, 2022

an alternative to #1585

yamt added 2 commits October 27, 2022 13:28
Sometimes it's more convenient to "unload" natives
than restarting the whole engine using
wasm_runtime_destroy/wasm_runtime_init.
Just to demonstrate how wasm_runtime_unregister_natives can be used.
Copy link
Contributor

@wenyongh wenyongh left a comment

Choose a reason for hiding this comment

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

LGTM

@wenyongh wenyongh merged commit 77ff7da into bytecodealliance:main Oct 28, 2022
wenyongh pushed a commit that referenced this pull request Dec 6, 2022
Allow to unregister (or unload) the previously registered native libs,
so that no need to restart the whole engine by using
`wasm_runtime_destroy/wasm_runtime_init`.
vickiegpt pushed a commit to vickiegpt/wamr-aot-gc-checkpoint-restore that referenced this pull request May 27, 2024
Allow to unregister (or unload) the previously registered native libs,
so that no need to restart the whole engine by using
`wasm_runtime_destroy/wasm_runtime_init`.
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.

3 participants