No need to send message to embedder after it is closed
This commit is contained in:
parent
85a4ff83da
commit
f8786e9d17
1 changed files with 0 additions and 1 deletions
|
@ -21,7 +21,6 @@ createGuest = (embedder, url, frameName, options) ->
|
||||||
# guest is closed by user then we should prevent |embedder| from double
|
# guest is closed by user then we should prevent |embedder| from double
|
||||||
# closing guest.
|
# closing guest.
|
||||||
closedByEmbedder = ->
|
closedByEmbedder = ->
|
||||||
embedder.send 'ATOM_SHELL_GUEST_WINDOW_MANAGER_WINDOW_CLOSED', guest.id
|
|
||||||
guest.removeListener 'closed', closedByUser
|
guest.removeListener 'closed', closedByUser
|
||||||
guest.destroy()
|
guest.destroy()
|
||||||
closedByUser = ->
|
closedByUser = ->
|
||||||
|
|
Loading…
Reference in a new issue