You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 26, 2024. It is now read-only.
Hello,
Is it a conscious choice not to have provided a ResetGlobal method or equivalent on the tracer?
I suppose the shared_ptr is cleaned up at global shutdown of an application, but that limits the opportunities for "controlled" init/cleanup of the singleton.
Would this be the preferred way to do it with the current opentracing code?
void closeOpenTracer()
{
opentracing::Tracer::Global()->Close();
// How do we delete the global tracer pointer?
// There is no public method to do so
//std::shared_ptr<opentracing::Tracer> t;
// Reinit with an empty shared pointer ?
//opentracing::Tracer::InitGlobal(t);
}