mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 08:41:16 +00:00
Fix CID 350448 (uncaught exception)
This commit is contained in:
parent
b6791856f9
commit
b6d9c949ae
|
@ -463,6 +463,8 @@ void Monitor::Cleanup(const string& shmId)
|
||||||
RemoveObject(managementSegmentName.c_str());
|
RemoveObject(managementSegmentName.c_str());
|
||||||
} catch (bie&) {
|
} catch (bie&) {
|
||||||
cout << "Did not find '" << managementSegmentName << "' shared memory segment. No regions to cleanup." << endl;
|
cout << "Did not find '" << managementSegmentName << "' shared memory segment. No regions to cleanup." << endl;
|
||||||
|
} catch(std::out_of_range& oor) {
|
||||||
|
cout << "Could not locate element in the region map, out of range: " << oor.what() << endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
RemoveObject("fmq_" + shmId + "_main");
|
RemoveObject("fmq_" + shmId + "_main");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user