diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2018-01-11 23:49:17 -0800 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2018-01-11 23:49:17 -0800 |
commit | dea3b0d87facc657d42072ecffa791eaedc39017 (patch) | |
tree | 26451f2924cc7646055d07caf123e7f2e509c41f /core/src | |
parent | cf1bd5afba6d7c3fb3337e50f256f07c56e88571 (diff) | |
download | mill-dea3b0d87facc657d42072ecffa791eaedc39017.tar.gz mill-dea3b0d87facc657d42072ecffa791eaedc39017.tar.bz2 mill-dea3b0d87facc657d42072ecffa791eaedc39017.zip |
Properly close file inputstreams after hashing files, and eagerly close classloaders used for running tests
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/main/scala/mill/eval/PathRef.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/main/scala/mill/eval/PathRef.scala b/core/src/main/scala/mill/eval/PathRef.scala index 784d9ad4..0a629a14 100644 --- a/core/src/main/scala/mill/eval/PathRef.scala +++ b/core/src/main/scala/mill/eval/PathRef.scala @@ -47,6 +47,8 @@ case class PathRef(path: ammonite.ops.Path, quick: Boolean = false){ } } rec() + + is.close() } FileVisitResult.CONTINUE } |