Do not create duplicate V8Platform in NodeDebugger
This commit is contained in:
parent
00afeaba9a
commit
c0c2461245
5 changed files with 7 additions and 16 deletions
|
@ -23,6 +23,7 @@ class JavascriptEnvironment {
|
|||
void OnMessageLoopCreated();
|
||||
void OnMessageLoopDestroying();
|
||||
|
||||
node::NodePlatform* platform() const { return platform_; }
|
||||
v8::Isolate* isolate() const { return isolate_; }
|
||||
v8::Local<v8::Context> context() const {
|
||||
return v8::Local<v8::Context>::New(isolate_, context_);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue