Deletes wasm.CallCtx (#1280)
Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io>
This commit is contained in:
@@ -313,7 +313,7 @@ func (r *runtime) InstantiateModule(
|
||||
|
||||
// Attach the code closer so that anything afterwards closes the compiled code when closing the module.
|
||||
if code.closeWithModule {
|
||||
mod.(*wasm.CallContext).CodeCloser = code
|
||||
mod.(*wasm.ModuleInstance).CodeCloser = code
|
||||
}
|
||||
|
||||
// Now, invoke any start functions, failing at first error.
|
||||
|
||||
Reference in New Issue
Block a user