mirror of https://github.com/sbt/sbt.git
Call System.exit after the main thread is finished. Closes #565.
This commit is contained in:
parent
88e8090d7a
commit
4bb5007282
|
|
@ -81,12 +81,16 @@ public class ForkMain {
|
|||
Socket socket = new Socket(InetAddress.getByName(null), Integer.valueOf(args[0]));
|
||||
final ObjectInputStream is = new ObjectInputStream(socket.getInputStream());
|
||||
final ObjectOutputStream os = new ObjectOutputStream(socket.getOutputStream());
|
||||
try {
|
||||
try {
|
||||
new Run().run(is, os);
|
||||
} finally {
|
||||
is.close();
|
||||
os.close();
|
||||
}
|
||||
} finally {
|
||||
System.exit(0);
|
||||
}
|
||||
}
|
||||
private static class Run {
|
||||
boolean matches(Fingerprint f1, Fingerprint f2) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue