mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 16:46:47 +00:00
Correct mistake in channel validation
This commit is contained in:
parent
252acf41c8
commit
5f20a28b04
|
@ -154,7 +154,7 @@ bool FairMQChannel::ValidateChannel()
|
|||
return false;
|
||||
}
|
||||
|
||||
if (fAddress == "unspecified" && fAddress == "")
|
||||
if (fAddress == "unspecified" || fAddress == "")
|
||||
{
|
||||
ss << "INVALID";
|
||||
LOG(DEBUG) << ss.str();
|
||||
|
|
|
@ -259,10 +259,13 @@ void FairMQDevice::RunWrapper()
|
|||
|
||||
Run();
|
||||
|
||||
try {
|
||||
try
|
||||
{
|
||||
rateLogger.interrupt();
|
||||
rateLogger.join();
|
||||
} catch(boost::thread_resource_error& e) {
|
||||
}
|
||||
catch(boost::thread_resource_error& e)
|
||||
{
|
||||
LOG(ERROR) << e.what();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user