Skip to content

Commit 6c50d40

Browse files
committed
Terminate JVM of already running instances
1 parent ebbd71c commit 6c50d40

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/src/processing/app/Base.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,8 @@ static private void createAndShowGUI(String[] args) {
324324

325325
// long t10 = System.currentTimeMillis();
326326
// System.out.println("startup took " + (t2-t1) + " " + (t3-t2) + " " + (t4-t3) + " " + (t5-t4) + " " + (t6-t5) + " " + (t10-t6) + " ms");
327+
} else {
328+
System.exit(0);
327329
}
328330
}
329331

0 commit comments

Comments
 (0)