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 when a shutdown is in prog…
Browse files Browse the repository at this point in the history
…ress (#689)

Signed-off-by: Tomas Hofman <[email protected]>
  • Loading branch information
TomasHofman authored Feb 13, 2020
1 parent 74adce4 commit 8338be9
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 8338be9

Please sign in to comment.