Skip to content

Commit b8a48a2

Browse files
authored
Correctly handle SHUTDOWN signal while waiting evloop thread (#40)
1 parent 4d435c9 commit b8a48a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/tracer_impl.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ TracerImpl::TracerImpl(TracerConfig& config,
2828

2929
TracerImpl::~TracerImpl() {
3030
client_.reset();
31-
th_.join();
3231
cq_.Shutdown();
32+
th_.join();
3333
}
3434

3535
void TracerImpl::sendSegment(SegmentContextPtr obj) {

0 commit comments

Comments
 (0)