Skip to content

Commit

Permalink
non-daemon WindowsStreamPump prevents killing with Ctrl-C, fixes #107
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Apr 6, 2017
1 parent 9deee96 commit 02ed6bf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ public AbstractWindowsTerminal(OutputStream output, String name, boolean nativeS
}
}
pump = new Thread(this::pump, "WindowsStreamPump");
pump.setDaemon(true);
pump.start();
closer = this::close;
ShutdownHooks.add(closer);
Expand Down

0 comments on commit 02ed6bf

Please # to comment.