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
|
@ -384,6 +384,7 @@ void AtomRendererClient::WillReleaseScriptContext(
|
|||
|
||||
// Destroy the node environment.
|
||||
node::FreeEnvironment(env);
|
||||
atom_bindings_->EnvironmentDestroyed(env);
|
||||
}
|
||||
|
||||
bool AtomRendererClient::ShouldFork(blink::WebLocalFrame* frame,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue