Avoid touch an Environemnt after it gets destroyed
This commit is contained in:
parent
29278e500b
commit
24574f7299
3 changed files with 11 additions and 0 deletions
|
@ -27,6 +27,9 @@ class AtomBindings {
|
|||
// load native code from Electron instead.
|
||||
void BindTo(v8::Isolate* isolate, v8::Local<v8::Object> process);
|
||||
|
||||
// Should be called when a node::Environment has been destroyed.
|
||||
void EnvironmentDestroyed(node::Environment* env);
|
||||
|
||||
static void Log(const base::string16& message);
|
||||
static void Crash();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue