]> khamidou — GitHub mirrors - electron.git/commitdiff
Remove redundant call to NotifyWindowClosed.
authorCheng Zhao <zcbenz@gmail.com>
Wed, 23 Apr 2014 03:21:17 +0000 (11:21 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Wed, 23 Apr 2014 03:21:17 +0000 (11:21 +0800)
atom/browser/native_window.cc

index 0c9211ec128188884cb0d1c2eb2be07b47d647f2..e4627d2ec2eb4049beb7b0a6b5ef0d0c6ec1a9c8 100644 (file)
@@ -461,8 +461,6 @@ void NativeWindow::CloseContents(content::WebContents* source) {
   // overriding the OnWindowClosed method in the observer.
   CloseImmediately();
 
-  NotifyWindowClosed();
-
   // Do not sent "unresponsive" event after window is closed.
   window_unresposive_closure_.Cancel();
 }