From f8786e9d17997cc0237714cfc1421170ca3b2769 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Mon, 6 Jul 2015 21:28:09 +0800 Subject: [PATCH] No need to send message to embedder after it is closed --- atom/browser/lib/guest-window-manager.coffee | 1 - 1 file changed, 1 deletion(-) diff --git a/atom/browser/lib/guest-window-manager.coffee b/atom/browser/lib/guest-window-manager.coffee index fb961dddef40..6f5040ce21d3 100644 --- a/atom/browser/lib/guest-window-manager.coffee +++ b/atom/browser/lib/guest-window-manager.coffee @@ -21,7 +21,6 @@ createGuest = (embedder, url, frameName, options) -> # guest is closed by user then we should prevent |embedder| from double # closing guest. closedByEmbedder = -> - embedder.send 'ATOM_SHELL_GUEST_WINDOW_MANAGER_WINDOW_CLOSED', guest.id guest.removeListener 'closed', closedByUser guest.destroy() closedByUser = ->