From: Cheng Zhao Date: Fri, 31 Jan 2014 07:09:13 +0000 (+0800) Subject: Fix crash when opening multiple pages at the same time. X-Git-Tag: v0.9.5~4^2~3 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=bd51a4c8cf3937c1be64b6838547cedf1c9438b1;p=electron.git Fix crash when opening multiple pages at the same time. --- diff --git a/browser/atom_browser_client.cc b/browser/atom_browser_client.cc index 2f43c2b0..512d1f58 100644 --- a/browser/atom_browser_client.cc +++ b/browser/atom_browser_client.cc @@ -108,6 +108,8 @@ void AtomBrowserClient::AppendExtraCommandLineSwitches( if (window != NULL) command_line->AppendSwitchASCII(switches::kNodeIntegration, window->node_integration()); + + dying_render_process_ = NULL; } brightray::BrowserMainParts* AtomBrowserClient::OverrideCreateBrowserMainParts(