electron-event-flux
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -184,4 +184,3 @@ "use strict"; | ||
if (clientId === 'mainClient') { | ||
_this.willQuit = true; | ||
_this.closeAllWindows(); | ||
_this.onCloseMainClient(); | ||
} | ||
@@ -298,2 +297,4 @@ _this.onDidWinClose && _this.onDidWinClose(clientId); | ||
MultiWinCacheStore.prototype.onCloseMainClient = function () { | ||
this.willQuit = true; | ||
this.closeAllWindows(); | ||
}; | ||
@@ -300,0 +301,0 @@ MultiWinCacheStore.prototype.activeWin = function (clientId) { |
{ | ||
"name": "electron-event-flux", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Redux store which synchronizes between instances in multiple process", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -186,4 +186,3 @@ import MultiWinStore from './MultiWinStore'; | ||
if (clientId === 'mainClient') { | ||
this.willQuit = true; | ||
this.closeAllWindows(); | ||
this.onCloseMainClient(); | ||
} | ||
@@ -307,3 +306,4 @@ this.onDidWinClose && this.onDidWinClose(clientId!); | ||
onCloseMainClient() { | ||
this.willQuit = true; | ||
this.closeAllWindows(); | ||
} | ||
@@ -310,0 +310,0 @@ |
388905
9415