diff options
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/examples/hello_runtime.rs | 1 | ||||
-rw-r--r-- | runtime/worker.rs | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/runtime/examples/hello_runtime.rs b/runtime/examples/hello_runtime.rs index 1f09551a6..b8b152467 100644 --- a/runtime/examples/hello_runtime.rs +++ b/runtime/examples/hello_runtime.rs @@ -65,7 +65,6 @@ async fn main() -> Result<(), AnyError> { shared_array_buffer_store: None, compiled_wasm_module_store: None, stdio: Default::default(), - leak_isolate: true, }; let js_path = diff --git a/runtime/worker.rs b/runtime/worker.rs index 7ce6eb58d..4bf7b00e8 100644 --- a/runtime/worker.rs +++ b/runtime/worker.rs @@ -131,7 +131,6 @@ pub struct WorkerOptions { /// `WebAssembly.Module` objects cannot be serialized. pub compiled_wasm_module_store: Option<CompiledWasmModuleStore>, pub stdio: Stdio, - pub leak_isolate: bool, } impl Default for WorkerOptions { @@ -167,7 +166,6 @@ impl Default for WorkerOptions { startup_snapshot: Default::default(), bootstrap: Default::default(), stdio: Default::default(), - leak_isolate: false, } } } @@ -290,7 +288,6 @@ impl MainWorker { extensions, inspector: options.maybe_inspector_server.is_some(), is_main: true, - leak_isolate: options.leak_isolate, ..Default::default() }); |