mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Remove redundant call to NotifyWindowClosed.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user