mirror of https://github.com/sbt/sbt.git
Make worker threads uninterruptible
This commit is contained in:
parent
36bb0e247a
commit
dfaa2f370c
|
|
@ -125,6 +125,7 @@ final class Distributor[D](scheduler: Scheduler[D], doWork: D => Option[String],
|
|||
}
|
||||
private class Worker(data: D) extends Thread with NotNull
|
||||
{
|
||||
override def interrupt() {}
|
||||
override def run()
|
||||
{
|
||||
val result = Control.trapUnit("", log(data))(doWork(data))
|
||||
|
|
|
|||
Loading…
Reference in New Issue