mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
ELECTRON-1366 - Prevent javascript error related to screen module (#713)
This commit is contained in:
parent
da36f5df54
commit
d9c52ae745
@ -96,7 +96,7 @@ if (!allowMultiInstance) {
|
||||
// quit if another instance is already running, ignore for dev env or if app was started with multiInstance flag
|
||||
if (!gotTheLock) {
|
||||
logger.info(`main: got the lock hence closing the new instance`, { gotTheLock });
|
||||
app.quit();
|
||||
app.exit();
|
||||
} else {
|
||||
logger.info(`main: Creating the first instance of the application`);
|
||||
app.on('second-instance', (_event, argv) => {
|
||||
|
Loading…
Reference in New Issue
Block a user