mirror of
https://github.com/sbt/sbt.git
synced 2026-09-01 10:37:54 +02:00
Call System.exit after the main thread is finished. Closes #565.
This commit is contained in:
committed by
Mark Harrah
parent
88e8090d7a
commit
4bb5007282
@@ -82,10 +82,14 @@ public class ForkMain {
|
||||
final ObjectInputStream is = new ObjectInputStream(socket.getInputStream());
|
||||
final ObjectOutputStream os = new ObjectOutputStream(socket.getOutputStream());
|
||||
try {
|
||||
new Run().run(is, os);
|
||||
try {
|
||||
new Run().run(is, os);
|
||||
} finally {
|
||||
is.close();
|
||||
os.close();
|
||||
}
|
||||
} finally {
|
||||
is.close();
|
||||
os.close();
|
||||
System.exit(0);
|
||||
}
|
||||
}
|
||||
private static class Run {
|
||||
|
||||
Reference in New Issue
Block a user