-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FORGE-1012 Set the console reader thread to a daemon.
This ensures that Forge terminates immediately upon exit without requiring another keystroke to unblock the blocked reader thread on System.in Also modified the invocation of the exit command on Ctrl+D to issue a newline upon exit to ensure that the shell prompt appears in a new line.
- Loading branch information
1 parent
ae837e0
commit 345a0e8
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -105,7 +105,7 @@ public void run() | |
} | ||
} | ||
}; | ||
|
||
readerThread.setDaemon(true); | ||
readerThread.start(); | ||
} | ||
|
||
|