Revert "Fix close process" (#451)

This commit is contained in:
Ayhan 2016-07-27 06:11:38 +03:00 committed by Guillermo Rauch
parent ed2c810c9f
commit ce357c72be

View file

@ -221,7 +221,6 @@ app.on('ready', () => {
// the window can be closed by the browser process itself
win.on('close', () => {
windowSet.delete(win);
win.close();
rpc.destroy();
deleteSessions();
cfgUnsubscribe();