Browse Source

setMaxListeners at 100

master
Loëck Vézien 7 years ago
parent
commit
9bdabc16e0
No known key found for this signature in database GPG Key ID: CBCDCE384E853AC4
  1. 2
      src/main/app.js

2
src/main/app.js

@ -2,7 +2,7 @@
import { app, ipcMain, BrowserWindow } from 'electron'
process.setMaxListeners(Infinity)
process.setMaxListeners(100)
// necessary to prevent win from being garbage collected
let mainWindow

Loading…
Cancel
Save