We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49ed20e commit 92f02c0Copy full SHA for 92f02c0
src/wasm.cc
@@ -512,8 +512,8 @@ createThreadLocalWasm(std::shared_ptr<WasmHandleBase> &base_wasm,
512
wasm_handle->wasm()->fail(FailState::UnableToCloneVM, "Failed to clone Base Wasm");
513
return nullptr;
514
}
515
- if (!wasm_handle->wasm()->initialize(wasm_handle->wasm()->code(),
516
- wasm_handle->wasm()->allow_precompiled())) {
+ if (!wasm_handle->wasm()->initialize(base_wasm->wasm()->code(),
+ base_wasm->wasm()->allow_precompiled())) {
517
wasm_handle->wasm()->fail(FailState::UnableToInitializeCode, "Failed to initialize Wasm code");
518
519
0 commit comments