mirror of https://github.com/sbt/sbt.git
This fixes the closed channel exception generated when running sbt -timings help. This bug was introduced in sbt 1.4 where a wrapper was created (Terminal.scala) around the terminal. This meant that the shutdown hook which had been used previously was no longer working. This has been fixed by avoiding the use of the JVM shutdown hook and instead manually running the thunk at a place in the code where the programme is still able to respond. |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||