mirror of
https://github.com/sbt/sbt.git
synced 2026-08-29 01:24:09 +02:00
While testing some classloader changes, I realized that we didn't always close the test classloaders because they didn't necessarily extend URLClassLoader, but instead implemented AutoCloseable. Bonus: don't set the context classloader. It turns out that the test framework does that anyway inside of trl.run so it was pointless to do in Defaults.scala.