Merge branch 'master' into development

This commit is contained in:
PrestonN 2019-06-12 20:47:51 -04:00
commit a7601482bf
1 changed files with 4 additions and 2 deletions

View File

@ -256,8 +256,10 @@ let init = function () {
* Quit the application
*/
let allWindowsClosed = function () {
win.webContents.session.clearStorageData([], (data) => {});
win.webContents.session.clearCache((data) => {});
if (win !== null) {
win.webContents.session.clearStorageData([], (data) => {});
win.webContents.session.clearCache((data) => {});
}
app.quit();
};