mirror of https://github.com/FreeTubeApp/FreeTube
Merge branch 'master' into development
This commit is contained in:
commit
a7601482bf
|
@ -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();
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue