Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

Commit

Permalink
Prevent a shutdown hook from being removed in JaegerTracer when a shu…
Browse files Browse the repository at this point in the history
…tdown is in progress

Signed-off-by: Tomas Hofman <[email protected]>
  • Loading branch information
TomasHofman committed Feb 13, 2020
1 parent 74adce4 commit d986b55
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ protected JaegerTracer(JaegerTracer.Builder builder) {
shutdownHook = new Thread() {
@Override
public void run() {
shutdownHook = null;
JaegerTracer.this.close();
}
};
Expand Down

0 comments on commit d986b55

Please sign in to comment.