mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
SDK: Do not always stop the session on destruction
This commit is contained in:
committed by
Dennis Klein
parent
7aa95fcd93
commit
5a7bf68c8c
@@ -76,10 +76,6 @@ struct DDSSession::Impl
|
||||
}
|
||||
}
|
||||
|
||||
~Impl()
|
||||
{
|
||||
fSession.shutdown();
|
||||
}
|
||||
struct Tag {};
|
||||
friend auto operator<<(std::ostream& os, Tag) -> std::ostream& { return os << "DDSSession"; }
|
||||
tools::InstanceLimiter<Tag, 1> fCount;
|
||||
@@ -103,6 +99,8 @@ auto DDSSession::IsRunning() const -> bool { return fImpl->fSession.IsRunning();
|
||||
|
||||
auto DDSSession::GetId() const -> Id { return fImpl->fId; }
|
||||
|
||||
auto DDSSession::Stop() -> void { return fImpl->fSession.shutdown(); }
|
||||
|
||||
auto DDSSession::GetDefaultPlugin() const -> DDSRMSPlugin { return fImpl->fDefaultPlugin; }
|
||||
|
||||
auto DDSSession::SubmitAgents(Quantity agents) -> void
|
||||
|
Reference in New Issue
Block a user