mirror of
https://github.com/denoland/deno.git
synced 2025-01-05 13:59:01 -05:00
chore(core): Remove a note that is no longer relevant. (#14069)
This note about how `v8::SnapshotCreator::create_blob` must not be called from a `HandleScope` stopped being relevant in #6801, and was now attached to code that had nothing to do with `HandleScope`s.
This commit is contained in:
parent
fb6e135b3e
commit
71de0c92b8
1 changed files with 0 additions and 2 deletions
|
@ -650,8 +650,6 @@ impl JsRuntime {
|
|||
|
||||
let state = Self::state(self.v8_isolate());
|
||||
|
||||
// Note: create_blob() method must not be called from within a HandleScope.
|
||||
// TODO(piscisaureus): The rusty_v8 type system should enforce this.
|
||||
state.borrow_mut().global_context.take();
|
||||
|
||||
self.inspector.take();
|
||||
|
|
Loading…
Reference in a new issue