Skip to content

Commit

Permalink
Fix #1024. Use log.debug instead of println in TrapExit.
Browse files Browse the repository at this point in the history
  • Loading branch information
harrah authored and eed3si9n committed Mar 21, 2014
1 parent 67b750a commit 73c1450
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run/src/main/scala/sbt/TrapExit.scala
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ private final class TrapExit(delegateManager: SecurityManager) extends SecurityM
}

private[this] def interruptAllThreads(app: App): Unit =
app processThreads { t => if(!isSystemThread(t)) safeInterrupt(t, app.log) else println(s"Not interrupting system thread $t") }
app processThreads { t => if(!isSystemThread(t)) safeInterrupt(t, app.log) else app.log.debug(s"Not interrupting system thread $t") }

/** Gets the managed application associated with Thread `t` */
private[this] def getApp(t: Thread): Option[App] =
Expand Down

0 comments on commit 73c1450

Please sign in to comment.