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) ->
|
@getOrCreate: (guestId) ->
|
||||||
@proxies[guestId] ?= new BrowserWindowProxy(guestId)
|
@proxies[guestId] ?= new BrowserWindowProxy(guestId)
|
||||||
|
|
||||||
@removeWindow: (guestId) ->
|
@remove: (guestId) ->
|
||||||
delete @proxies[guestId]
|
delete @proxies[guestId]
|
||||||
|
|
||||||
constructor: (@guestId) ->
|
constructor: (@guestId) ->
|
||||||
@closed = false
|
@closed = false
|
||||||
ipcRenderer.once "ATOM_SHELL_GUEST_WINDOW_MANAGER_WINDOW_CLOSED_#{@guestId}", =>
|
ipcRenderer.once "ATOM_SHELL_GUEST_WINDOW_MANAGER_WINDOW_CLOSED_#{@guestId}", =>
|
||||||
BrowserWindowProxy.removeWindow(@guestId)
|
BrowserWindowProxy.remove(@guestId)
|
||||||
@closed = true
|
@closed = true
|
||||||
|
|
||||||
close: ->
|
close: ->
|
||||||
|
|
Loading…
Reference in a new issue