-
Notifications
You must be signed in to change notification settings - Fork 501
Closed
Labels
bugSomething isn't workingSomething isn't workingtriage/acceptedIndicates an issue or PR is ready to be actively worked on.Indicates an issue or PR is ready to be actively worked on.
Description
The following code, in file sdk/src/trace/tracer_provider.cc
:
bool TracerProvider::Shutdown() noexcept
{
return context_->Shutdown();
}
does not take a timeout parameter.
TracerProvider::Shutdown()
will block in-definitively if unsent spans are present.
This prevents an application to shutdown opentelemetry-cpp.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtriage/acceptedIndicates an issue or PR is ready to be actively worked on.Indicates an issue or PR is ready to be actively worked on.