Fix double freeing guest
This commit is contained in:
parent
22e3b9df44
commit
1a93babdbc
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ createGuest = (embedder, params) ->
|
|||
|
||||
# Destroy guest when the embedder is gone.
|
||||
embedder.once 'render-view-deleted', ->
|
||||
destroyGuest id
|
||||
destroyGuest id if guestInstances[id]?
|
||||
|
||||
# Init guest web view after attached.
|
||||
guest.once 'did-attach', (event, params) ->
|
||||
|
|
Loading…
Add table
Reference in a new issue