Skip to content

Commit

Permalink
Merge pull request jruby#8438 from headius/remove_hard_exit
Browse files Browse the repository at this point in the history
Remove rogue exit(0) that shuts down JVM
  • Loading branch information
headius authored Nov 20, 2024
2 parents c5fb69e + e39cc98 commit 8b022a9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions core/src/main/java/org/jruby/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,6 @@ public static void main(String[] args) {
if (status.isExit()) {
System.exit(status.getStatus());
}

System.exit(0);
}
catch (RaiseException ex) {
System.exit( handleRaiseException(ex) );
Expand Down

0 comments on commit 8b022a9

Please sign in to comment.