mirror of https://github.com/sbt/sbt.git
When a user enters shutdown in the thin client console, it only exits the thin client, it does not actually shutdown sbt. Running `sbtn shutdown` did work to shutdown the server, however. It turned out that this was because there was special handling for shutdown when processed through jline. We would enqueue the shutdown command and also close the client connection. Closing the client connection though removed all of the enqueued commands for the client, which included the shutdown command. To fix this, we just make sure that we don't remove the shutdown command when clearing the client commands. |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||