mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 00:31:14 +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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fAddress == "unspecified" && fAddress == "")
|
if (fAddress == "unspecified" || fAddress == "")
|
||||||
{
|
{
|
||||||
ss << "INVALID";
|
ss << "INVALID";
|
||||||
LOG(DEBUG) << ss.str();
|
LOG(DEBUG) << ss.str();
|
||||||
|
|
|
@ -259,10 +259,13 @@ void FairMQDevice::RunWrapper()
|
||||||
|
|
||||||
Run();
|
Run();
|
||||||
|
|
||||||
try {
|
try
|
||||||
|
{
|
||||||
rateLogger.interrupt();
|
rateLogger.interrupt();
|
||||||
rateLogger.join();
|
rateLogger.join();
|
||||||
} catch(boost::thread_resource_error& e) {
|
}
|
||||||
|
catch(boost::thread_resource_error& e)
|
||||||
|
{
|
||||||
LOG(ERROR) << e.what();
|
LOG(ERROR) << e.what();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user