Skip to content

Commit

Permalink
Fixes #719 by adding System.exit(0) call to SlimService to ensure mai…
Browse files Browse the repository at this point in the history
…n() method properly exits, even if non-daemon threads have been spawned by test fixture.
  • Loading branch information
Frank Scheffler committed Apr 21, 2015
1 parent 58d6b70 commit 8a398b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/fitnesse/slim/SlimService.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ public static void main(String[] args) throws IOException {
if (options != null) {
try{
startWithFactory(createJavaSlimFactory(options), options);
System.exit(0);
}catch (Exception e){
e.printStackTrace();
System.out.println("Exiting as exception occured: " + e.getMessage());
Expand Down

0 comments on commit 8a398b0

Please sign in to comment.