mirror of https://github.com/sbt/sbt.git
There are cases where if the ui state is changing rapidly, that an AskUserThread can be created and cancelled in a short time windows. This could cause problems if the AskUserThread is interrupted during `LineReader.createReader` which I think can shell out to run some commands so it is relatively slow. If the thread was interrupted during the call to `LineReader.createReader` and the interruption was not handled, then the thread would go into `LineReader.readLine`, which wouldn't exit until the user pressed enter. This ultimately caused the ui to break until enter because this zombie line reader would be holding the lock on the terminal input stream. |
||
|---|---|---|
| .. | ||
| main | ||
| test | ||