Skip to content

Commit 591dbb1

Browse files
committed
two instance issue
1 parent 0cfdd39 commit 591dbb1

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/main/java/org/dpsoftware/NativeExecutor.java

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,8 +400,14 @@ public static void exit() {
400400
exitOtherInstances();
401401
AudioSingleton.getInstance().RUNNING_AUDIO = false;
402402
CommonUtility.delaySeconds(() -> {
403-
lastWill();
404-
System.exit(0);
403+
log.info("CLOSIGN?");
404+
try {
405+
lastWill();
406+
System.exit(0);
407+
} catch (Exception ignore) {
408+
log.info("exception");
409+
System.exit(0);
410+
}
405411
}, 2);
406412
}
407413

0 commit comments

Comments
 (0)