Skip to content

Commit

Permalink
Fix to close the compiler object in scalacinvoker (#1545)
Browse files Browse the repository at this point in the history
* close compiler object in scalacinvoker
This fixes functionality that was accidently broken in PR#1529
  • Loading branch information
crt-31 authored Feb 19, 2024
1 parent 27bcfab commit aab9017
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/java/io/bazel/rulesscala/scalac/ScalacInvoker.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ public static ScalacInvokerResults invokeCompiler(CompileOptions ops, String[] c
} else {
throw ex;
}
} finally {
comp.close();
}

results.stopTime = System.currentTimeMillis();
Expand Down

0 comments on commit aab9017

Please sign in to comment.