wasmer
wasmer copied to clipboard
How should i release the imported function with env
Summary
delete the host func with a env ptr will cause a double release in c-api
Additional details
when calling the wasm_instance_new will clone the imported functions into resolver, the env is the same ptr. when call wasm_funct_delete/wasm_instance_delete will call the env finalizer twice , what should i do?