Browse Source

added missing loadingWindow check in defered app quit

all-modes
Petr Balashov 8 years ago
parent
commit
12cc994460
  1. 3
      main.js

3
main.js

@ -217,7 +217,8 @@ function createLoadingWindow() {
/* the user only tried to close the window */ /* the user only tried to close the window */
closeAppAfterLoading = true; closeAppAfterLoading = true;
e.preventDefault(); e.preventDefault();
loadingWindow.hide(); if (loadingWindow)
loadingWindow.hide();
} }
}); });

Loading…
Cancel
Save