Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Revert "First quick check if lastEmittedState and appState are differ…
Browse files Browse the repository at this point in the history
…ent"

This reverts commit 69ec750.
  • Loading branch information
NejcZdovc committed Aug 15, 2017
1 parent 69ec750 commit 0e71bf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/stores/appStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ class AppStore extends EventEmitter {
}

emitChanges (emitFullState) {
if (lastEmittedState && lastEmittedState !== appState) {
if (lastEmittedState) {
const d = diff(lastEmittedState, appState)
if (!d.isEmpty()) {
BrowserWindow.getAllWindows().forEach((wnd) => {
Expand Down

0 comments on commit 0e71bf2

Please sign in to comment.