Skip to content

Commit 5eeb7c0

Browse files
committed
stamp: polishing
1 parent b2281ea commit 5eeb7c0

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

crates/base/src/runtime/mod.rs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -394,21 +394,6 @@ fn cleanup_js_runtime(runtime: &mut JsRuntime) {
394394
}
395395
}
396396

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-
412397
pub struct DenoRuntime<RuntimeContext = DefaultRuntimeContext> {
413398
pub runtime_state: Arc<RuntimeState>,
414399
pub js_runtime: ManuallyDrop<JsRuntime>,

0 commit comments

Comments
 (0)