Xiaodong Ma

Results 2 comments of Xiaodong Ma

I did some debugging, I believe it is a bug in the lib, attempted a fix here: https://github.com/open-telemetry/opentelemetry-cpp/pull/3767

> are the threads joined before exit? yes, something like this ``` class DataSink { DataSink() { thread_ = std::thread([this] { loggingFunc(); }); } ~DataSink() { if (thread_.joinable()) { notifyLoggingFunc();...