Skip to content

Commit e24ef2b

Browse files
committed
Warn when exiting due to single-instance
This lost me a fair bit of time trying to figure out why Riot was starting and then immediately quitting.
1 parent 4dd6ee6 commit e24ef2b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎electron/src/electron-main.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ const shouldQuit = electron.app.makeSingleInstance((commandLine, workingDirector
171171
});
172172

173173
if (shouldQuit) {
174+
console.log("Other instance detected: exiting");
174175
electron.app.quit()
175176
}
176177

0 commit comments

Comments
 (0)