Skip to content

Commit e5f3bb5

Browse files
author
Sergey Chelombitko
committed
Interrupt blocking tasks upon build cancellation
1 parent 27d5b2a commit e5f3bb5

File tree

1 file changed

+1
-1
lines changed
  • marathon-gradle-plugin/src/main/kotlin/com/malinskiy/marathon/worker

1 file changed

+1
-1
lines changed

marathon-gradle-plugin/src/main/kotlin/com/malinskiy/marathon/worker/WorkerContext.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ internal class WorkerContext(configuration: Configuration) : WorkerHandler {
4444
override fun close() {
4545
isRunning.set(false)
4646
componentsChannel.close()
47-
executor.shutdown()
47+
executor.shutdownNow()
4848
marathon.close()
4949
application.close()
5050
}

0 commit comments

Comments
 (0)