diff --git a/jaeger-core/src/main/java/io/jaegertracing/internal/JaegerTracer.java b/jaeger-core/src/main/java/io/jaegertracing/internal/JaegerTracer.java index 26b3f195e..77532e819 100644 --- a/jaeger-core/src/main/java/io/jaegertracing/internal/JaegerTracer.java +++ b/jaeger-core/src/main/java/io/jaegertracing/internal/JaegerTracer.java @@ -131,6 +131,7 @@ protected JaegerTracer(JaegerTracer.Builder builder) { shutdownHook = new Thread() { @Override public void run() { + shutdownHook = null; JaegerTracer.this.close(); } };