Skip to content

Commit

Permalink
fix closing application for macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
pgdurand committed Mar 4, 2021
1 parent a7d6039 commit baf0241
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
9 changes: 2 additions & 7 deletions src/com/plealog/genericapp/ui/menu/EZActionManager.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 2003-2016 Patrick G. Durand
/* Copyright (C) 2003-2021 Patrick G. Durand
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -643,12 +643,7 @@ public boolean handleExit(){
}
}

//for MacOs X, let the AppleCOnnector do the job
if (EZEnvironmentImplem.getOSType()==EZEnvironment.MAC_OS){
return bRet;
}

//for all other systems, do the System.exit() if needed
//do the System.exit() if needed
if(bRet){
System.exit(0);
}
Expand Down
4 changes: 2 additions & 2 deletions version.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
lib.version=2.4.0
lib.version=2.4.1
lib.name=jgaf

copyyear=2003-2020
copyyear=2003-2021

0 comments on commit baf0241

Please sign in to comment.