mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-12-19 17:30:16 +00:00
FairMQ: Fix missing region acks if receiver doesn't call OnData & clean includes.
This commit is contained in:
@@ -38,7 +38,7 @@ void FairMQExampleRegionSink::Run()
|
|||||||
{
|
{
|
||||||
FairMQMessagePtr msg(dataInChannel.Transport()->CreateMessage());
|
FairMQMessagePtr msg(dataInChannel.Transport()->CreateMessage());
|
||||||
dataInChannel.Receive(msg);
|
dataInChannel.Receive(msg);
|
||||||
void* ptr = msg->GetData();
|
// void* ptr = msg->GetData();
|
||||||
|
|
||||||
if (fMaxIterations > 0 && ++fNumIterations >= fMaxIterations)
|
if (fMaxIterations > 0 && ++fNumIterations >= fMaxIterations)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user