7 lines
157 B
Plaintext
7 lines
157 B
Plaintext
|
Thread.getAllStackTraces().keySet().each() {
|
||
|
if (it.name.contains('sampleZombieJob')) {
|
||
|
println "Stopping $it.name"
|
||
|
it.interrupt()
|
||
|
}
|
||
|
}
|