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 b2281ea commit 5eeb7c0Copy full SHA for 5eeb7c0
crates/base/src/runtime/mod.rs
@@ -394,21 +394,6 @@ fn cleanup_js_runtime(runtime: &mut JsRuntime) {
394
}
395
396
397
-fn cleanup_js_runtime(runtime: &mut JsRuntime) {
398
- let isolate = runtime.v8_isolate();
399
-
400
- assert_isolate_not_locked(isolate);
401
- let locker = unsafe {
402
- Locker::new(std::mem::transmute::<&mut Isolate, &mut Isolate>(isolate))
403
- };
404
405
- isolate.set_slot(locker);
406
407
- {
408
- let _scope = runtime.handle_scope();
409
- }
410
-}
411
412
pub struct DenoRuntime<RuntimeContext = DefaultRuntimeContext> {
413
pub runtime_state: Arc<RuntimeState>,
414
pub js_runtime: ManuallyDrop<JsRuntime>,
0 commit comments