]> khamidou — GitHub mirrors - electron.git/commitdiff
Need to free this early or get a SIGSEGV on Linux
authorPaul Betts <paul@paulbetts.org>
Wed, 21 Oct 2015 18:06:42 +0000 (11:06 -0700)
committerPaul Betts <paul@paulbetts.org>
Wed, 21 Oct 2015 18:06:42 +0000 (11:06 -0700)
atom/browser/browser.cc

index 483e58a988bea2ba2c8b0a39dd0f950e27e0859b..c8d6104beae4b9abd354d76d9056c26da0bef746 100644 (file)
@@ -150,6 +150,7 @@ void Browser::NotifyAndShutdown() {
 
   if (process_notify_callback_set_) {
     process_singleton_->Cleanup();
+    process_notify_callback_.Reset();
   }
 
   Shutdown();