mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-14 00:56:47 +00:00
FairMQ: Fix missing region acks if receiver doesn't call OnData & clean includes.
This commit is contained in:
parent
22e2e90de3
commit
88b1b20ae1
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user