fix close process (#448)

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

View file

@ -221,6 +221,7 @@ 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();