Skip to content

Commit

Permalink
[#9595] Remove close state check
Browse files Browse the repository at this point in the history
  • Loading branch information
emeroad committed Feb 22, 2023
1 parent 2596048 commit 19af58a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ public AsyncDefaultTrace(Span span,

@Override
public void close() {
if (isClosed()) {
logger.debug("already closed");
return;
}
// if (isClosed()) {
// logger.debug("Already closed");
// return;
// }
if (asyncState.await()) {
// flush.
super.flush();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ public AsyncDisableTrace(LocalTraceRoot traceRoot,

@Override
public void close() {
if (isClosed()) {
logger.debug("Already closed");
return;
}
// if (isClosed()) {
// logger.debug("Already closed");
// return;
// }
if (asyncState.await()) {
// flush.
super.flush();
Expand Down

0 comments on commit 19af58a

Please # to comment.