Fix relaunching doesn't run immediately (#38)

This commit is contained in:
Quang Lam 2019-11-22 20:50:01 -06:00 committed by GitHub
parent 6e8e645bc3
commit 030ac31ecb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -156,7 +156,7 @@ const loadListeners = () => {
}, (response) => {
if (response === 0) {
app.relaunch();
app.quit();
app.exit(0);
}
});
});