Use Node's V8Platform instead of gin's
This commit is contained in:
parent
a0ebde0181
commit
00afeaba9a
3 changed files with 15 additions and 2 deletions
|
@ -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_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue