Skip to content

Commit bf88620

Browse files
authored
Merge pull request element-hq#3727 from vector-im/dbkr/warn_when_single_instance_quit
Warn when exiting due to single-instance
2 parents 4dd6ee6 + e24ef2b commit bf88620

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)