Skip to content

Commit aab9017

Browse files
authored
Fix to close the compiler object in scalacinvoker (#1545)
* close compiler object in scalacinvoker This fixes functionality that was accidently broken in PR#1529
1 parent 27bcfab commit aab9017

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/java/io/bazel/rulesscala/scalac/ScalacInvoker.java

+2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ public static ScalacInvokerResults invokeCompiler(CompileOptions ops, String[] c
3232
} else {
3333
throw ex;
3434
}
35+
} finally {
36+
comp.close();
3537
}
3638

3739
results.stopTime = System.currentTimeMillis();

0 commit comments

Comments
 (0)