Skip to content

Commit

Permalink
Fix program exit error
Browse files Browse the repository at this point in the history
  • Loading branch information
siddarth2824 committed Sep 18, 2020
1 parent 6542313 commit 4b1f662
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/duke/ui/MainWindow.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ private void handleUserInput() {
userInput.clear();
if (executionOutput.isExit()) {
Platform.exit();
System.exit(0);
}
}
}

0 comments on commit 4b1f662

Please sign in to comment.