Use Node's V8Platform instead of gin's

This commit is contained in:
Cheng Zhao 2017-12-08 09:23:17 +09:00
parent a0ebde0181
commit 00afeaba9a
3 changed files with 15 additions and 2 deletions

View file

@ -10,6 +10,7 @@
namespace node {
class Environment;
class NodePlatform;
}
namespace atom {
@ -30,6 +31,9 @@ class JavascriptEnvironment {
private:
bool Initialize();
// Leaked on exit.
node::NodePlatform* platform_;
bool initialized_;
gin::IsolateHolder isolate_holder_;
v8::Isolate* isolate_;