Browse Source

Added more listeners for process

Firebase was generating an error asking for increase the listeners.
pull/116/head
Ramiro Saenz 9 years ago
parent
commit
6ee55223c7
  1. 2
      electron/main.js

2
electron/main.js

@ -121,7 +121,7 @@ function createWindow () {
// and restore the maximized or full screen state
mainWindowState.manage(mainWindow);
process.setMaxListeners(100);
process.setMaxListeners(10000);
// and load the index.html of the app.
mainWindow.loadURL('file://' + __dirname + '/../index.html');

Loading…
Cancel
Save