Deletes wasm.CallCtx (#1280)

Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io>
This commit is contained in:
Takeshi Yoneda
2023-03-24 17:00:43 -07:00
committed by GitHub
parent 721950abc5
commit a4226906cf
36 changed files with 406 additions and 449 deletions

View File

@@ -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.