diff --git a/atom/browser/lib/guest-view-manager.coffee b/atom/browser/lib/guest-view-manager.coffee index 51e7bdf91d69..e8d294515175 100644 --- a/atom/browser/lib/guest-view-manager.coffee +++ b/atom/browser/lib/guest-view-manager.coffee @@ -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 in one page. embedder.once event, destroy for event in destroyEvents # Init guest web view after attached.