removeWindow -> remove
This commit is contained in:
parent
49ca7509c7
commit
8401ece537
1 changed files with 2 additions and 2 deletions
|
@ -13,13 +13,13 @@ class BrowserWindowProxy
|
|||
@getOrCreate: (guestId) ->
|
||||
@proxies[guestId] ?= new BrowserWindowProxy(guestId)
|
||||
|
||||
@removeWindow: (guestId) ->
|
||||
@remove: (guestId) ->
|
||||
delete @proxies[guestId]
|
||||
|
||||
constructor: (@guestId) ->
|
||||
@closed = false
|
||||
ipcRenderer.once "ATOM_SHELL_GUEST_WINDOW_MANAGER_WINDOW_CLOSED_#{@guestId}", =>
|
||||
BrowserWindowProxy.removeWindow(@guestId)
|
||||
BrowserWindowProxy.remove(@guestId)
|
||||
@closed = true
|
||||
|
||||
close: ->
|
||||
|
|
Loading…
Reference in a new issue