mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Initialize shared memory only if it is used.
This commit is contained in:
committed by
Mohammad Al-Turany
parent
ac1da4db66
commit
8cf1cbb930
@@ -115,7 +115,7 @@ FairMQPollerZMQ::FairMQPollerZMQ(const unordered_map<string, vector<FairMQChanne
|
||||
{
|
||||
LOG(ERROR) << "At least one of the provided channel keys for poller initialization is invalid";
|
||||
LOG(ERROR) << "Out of Range error: " << oor.what() << '\n';
|
||||
exit(EXIT_FAILURE);
|
||||
throw std::out_of_range("Invalid channel during poller initialization");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user