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.
JsRuntime
ManuallyDrop
1 parent 5707665 commit 4cbeee8Copy full SHA for 4cbeee8
crates/base/src/deno_runtime.rs
@@ -691,7 +691,7 @@ where
691
..Default::default()
692
};
693
694
- let mut js_runtime = ManuallyDrop::new(JsRuntime::new(runtime_options));
+ let mut js_runtime = JsRuntime::new(runtime_options);
695
696
let dispatch_fns = {
697
let context = js_runtime.main_context();
@@ -911,7 +911,7 @@ where
911
912
Ok(Self {
913
drop_token,
914
- js_runtime,
+ js_runtime: ManuallyDrop::new(js_runtime),
915
env_vars,
916
conf,
917
s3_fs: maybe_s3_fs,
0 commit comments