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 2f43c2b..512d1f5 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(