mirror of https://github.com/sbt/sbt.git
When the sbt main loop is blocked by console, any other connected client is prompted that they can kill the task by typing cancel. The implementation for the console task is to write some input that will cause the console to exit because the scala 2.12 console cannot be safely killed with an interrupt. This input, however, was being blocked from written to the console because the console input stream was holding the readThread lock. We can be fix this and propagate the input to the console we wish to terminate by synchronizing on a different lock object. This should have no impact outside of cancelling the console because that is the only place where we call the write method of WriteableInputStream. |
||
|---|---|---|
| .. | ||
| util-collection | ||
| util-complete | ||
| util-control | ||
| util-interface/src/main/java/xsbti | ||
| util-logging | ||
| util-logic/src | ||
| util-position/src | ||
| util-relation/src | ||
| util-scripted/src/main | ||