From: Cheng Zhao Date: Wed, 23 Apr 2014 03:21:17 +0000 (+0800) Subject: Remove redundant call to NotifyWindowClosed. X-Git-Tag: v0.12.0~18^2~5 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=f6cca0df48f2578329d7999a9c92c66b78687917;p=electron.git Remove redundant call to NotifyWindowClosed. --- 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(); }