fix javascript error on quit

This commit is contained in:
Vishwas Shashidhar 2018-12-24 19:14:12 +05:30
parent 81ac612552
commit bb2033165b
2 changed files with 2 additions and 2 deletions

View File

@ -209,8 +209,8 @@ app.on('window-all-closed', function () {
});
app.on('quit', function () {
handleCacheFailureCheckOnExit();
log.send(logLevels.INFO, `-----------------Quitting the app-----------------`);
handleCacheFailureCheckOnExit();
});
/**

View File

@ -1231,7 +1231,7 @@ function popupMenu() {
const logBrowserWindowEvents = (browserWindow, windowName) => {
const events = [
'page-title-updated', 'close', 'closed', 'session-end', 'unresponsive', 'responsive', 'blur', 'focus',
'page-title-updated', 'close', 'session-end', 'unresponsive', 'responsive', 'blur', 'focus',
'show', 'hide', 'ready-to-show', 'maximize', 'unmaximize', 'minimize', 'restore', 'resize', 'move', 'moved',
'enter-full-screen', 'leave-full-screen', 'enter-html-full-screen', 'leave-html-full-screen', 'app-command'
];