Fix crash when opening multiple pages at the same time.
authorCheng Zhao <zcbenz@gmail.com>
Fri, 31 Jan 2014 07:09:13 +0000 (15:09 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 31 Jan 2014 07:09:13 +0000 (15:09 +0800)
browser/atom_browser_client.cc

index 2f43c2b01808235a27e11f882557d7602220e5ea..512d1f58661b3bb9da2e9a573628fd54fb63d9fb 100644 (file)
@@ -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(