Do not create duplicate V8Platform in NodeDebugger

This commit is contained in:
Cheng Zhao 2017-12-08 09:31:35 +09:00
parent 00afeaba9a
commit c0c2461245
5 changed files with 7 additions and 16 deletions

View file

@ -20,11 +20,10 @@ class NodeDebugger {
explicit NodeDebugger(node::Environment* env);
~NodeDebugger();
void Start();
void Start(node::NodePlatform* platform);
private:
node::Environment* env_;
node::NodePlatform* platform_;
DISALLOW_COPY_AND_ASSIGN(NodeDebugger);
};