mirror of https://github.com/sbt/sbt.git
This commit reworks TaskProgress so that it is a singleton object. By using a singleton, we ensure that there is at most one progress thread running at a time. With multiple threads, there can be flickering in the progress reports. This fixes https://github.com/sbt/sbt/issues/5547. There also was a bug that the reference to the progress thread was not reset when the thread itself exited. As a result, it was possible for progress reporting to stop while tasks were still running. This seemed to primarily happen in multi-project builds. It should be fixed by this change. |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||