From c127461ea15f831baf18a0cf991f5007a89f3921 Mon Sep 17 00:00:00 2001 From: Mark Harrah Date: Thu, 18 Jul 2013 15:41:45 -0400 Subject: [PATCH] set jline.esc.timeout=0 to prevent it from creating a Thread --- launch/src/main/scala/xsbt/boot/Boot.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/launch/src/main/scala/xsbt/boot/Boot.scala b/launch/src/main/scala/xsbt/boot/Boot.scala index afc70c2d7..06ee1ba82 100644 --- a/launch/src/main/scala/xsbt/boot/Boot.scala +++ b/launch/src/main/scala/xsbt/boot/Boot.scala @@ -15,7 +15,8 @@ object Boot println("sbt launcher version " + Package.getPackage("xsbt.boot").getImplementationVersion) case _ => System.clearProperty("scala.home") // avoid errors from mixing Scala versions in the same JVM - System.setProperty("jline.shutdownhook", "false") + System.setProperty("jline.shutdownhook", "false") // shutdown hooks cause class loader leaks + System.setProperty("jline.esc.timeout", "0") // starts up a thread otherwise CheckProxy() run(args) }