Fix hanging "Clear All Data" on Windows

This commit is contained in:
Fedor Indutny 2021-05-13 13:54:54 -07:00 committed by Scott Nonnenberg
parent 03eaa9eb3e
commit fe505a7f2f
8 changed files with 58 additions and 14 deletions

View file

@ -1477,6 +1477,7 @@ ipc.on('draw-attention', () => {
});
ipc.on('restart', () => {
console.log('Relaunching application');
app.relaunch();
app.quit();
});