From f6cca0df48f2578329d7999a9c92c66b78687917 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Wed, 23 Apr 2014 11:21:17 +0800 Subject: [PATCH] Remove redundant call to NotifyWindowClosed. --- atom/browser/native_window.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/atom/browser/native_window.cc b/atom/browser/native_window.cc index 0c9211ec..e4627d2e 100644 --- a/atom/browser/native_window.cc +++ b/atom/browser/native_window.cc @@ -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(); } -- 2.43.0