mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Merge pull request #13654 from atom/ns-increase-max-listeners
Increase max listener limit on ipcRenderer
This commit is contained in:
@@ -15,6 +15,7 @@ exports.on = function (emitter, eventName, callback) {
|
||||
exports.call = function (channel, ...args) {
|
||||
if (!ipcRenderer) {
|
||||
ipcRenderer = require('electron').ipcRenderer
|
||||
ipcRenderer.setMaxListeners(20)
|
||||
}
|
||||
|
||||
var responseChannel = getResponseChannel(channel)
|
||||
|
||||
Reference in New Issue
Block a user