Explorar el Código

log stacktrace when forcibly terminating thread

tags/2.0.1
Jonathan Cobb hace 4 años
padre
commit
c99a437ba4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/main/java/org/cobbzilla/util/daemon/ZillaRuntime.java

+ 1
- 1
src/main/java/org/cobbzilla/util/daemon/ZillaRuntime.java Ver fichero

@@ -60,7 +60,7 @@ public class ZillaRuntime {
sleep(100, "terminate: waiting for thread to exit: "+thread);
}
if (thread.isAlive()) {
log.warn("terminate: thread did not respond to interrupt, killing it: "+thread);
log.warn("terminate: thread did not respond to interrupt, killing: "+thread+" from "+stacktrace());
thread.stop();
return false;
} else {


Cargando…
Cancelar
Guardar