Skip to content

Commit 46d8e25

Browse files
committed
DPL: fix logic in the READY state flushing
1 parent 692140b commit 46d8e25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Framework/Core/src/ExternalFairMQDeviceProxy.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ DataProcessorSpec specifyExternalFairMQDeviceProxy(char const* name,
697697
// Continue iterating we saw the cleanup property being reset or
698698
// the device state changing.
699699
while (doDrain) {
700-
doDrain = device->NewStatePending() || deviceState.cleanupCount == cleanupCount;
700+
doDrain = device->NewStatePending() == false && deviceState.cleanupCount == cleanupCount;
701701
fair::mq::Parts parts;
702702
for (size_t ci = 0; ci < deviceState.inputChannelInfos.size(); ++ci) {
703703
auto& info = deviceState.inputChannelInfos[ci];

0 commit comments

Comments
 (0)