mirror of
https://github.com/denoland/deno.git
synced 2025-10-02 07:01:16 +00:00
Upgrade to rusty_v8 0.7.0 (#6801)
This commit is contained in:
parent
aebea6bd24
commit
faa64edaf4
7 changed files with 162 additions and 172 deletions
|
@ -415,7 +415,11 @@ impl DenoInspector {
|
|||
});
|
||||
|
||||
// Tell the inspector about the global context.
|
||||
let context = core_state.global_context.get(scope).unwrap();
|
||||
let context = core_state
|
||||
.global_context
|
||||
.as_ref()
|
||||
.map(|context| v8::Local::new(scope, context))
|
||||
.unwrap();
|
||||
let context_name = v8::inspector::StringView::from(&b"global context"[..]);
|
||||
self_.context_created(context, Self::CONTEXT_GROUP_ID, context_name);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue