mirror of https://github.com/sbt/sbt.git
When the sbt server is running a task, it presents all connected clients with a message that instructs them that they cancel the running task. Unfortunately, this often didn't work and the task would keep running after cancel was entered. The reason for this was because the exec id passed in to NetworkChannel did not necessarily match the exec id of the running task. Because cancel in this case is not really exec specific, this commit adds a flag to NetworkChannel.cancel that forces it to cancel the running task regardless of what execID is passed in. |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||