Fix #1024. Use log.debug instead of println in TrapExit.

This commit is contained in:
Mark Harrah 2013-12-05 12:00:00 -05:00
parent d8c15bb80e
commit 140ce04809
1 changed files with 1 additions and 1 deletions

View File

@ -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] =