Suppress EventEmitter warnings
This commit is contained in:
parent
40ab21d9df
commit
a26091e485
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ createGuest = (embedder, params) ->
|
|||
destroy = ->
|
||||
destroyGuest id if guestInstances[id]?
|
||||
embedder.removeListener event, destroy for event in destroyEvents
|
||||
embedder.setMaxListeners 100 # we can have lots of <webview> in one page.
|
||||
embedder.once event, destroy for event in destroyEvents
|
||||
|
||||
# Init guest web view after attached.
|
||||
|
|
Loading…
Reference in a new issue