Skip to content

Commit

Permalink
Flush after join completes
Browse files Browse the repository at this point in the history
Signed-off-by: Isaac Hier <[email protected]>
  • Loading branch information
isaachier committed Feb 9, 2018
1 parent f27c912 commit cdf9a1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jaegertracing/reporters/RemoteReporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ void RemoteReporter::close() noexcept
return;
}
_running = false;
flush();
}
_cv.notify_one();
_thread.join();
flush();
} catch (...) {
utils::ErrorUtil::logError(_logger, "Failed in Reporter::close");
}
Expand Down

0 comments on commit cdf9a1d

Please sign in to comment.