Skip to content

Commit a0f76c0

Browse files
committed
Send endOfStream on readers job completion
1 parent 06853b0 commit a0f76c0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Detectors/TOF/workflow/src/ClusterReaderSpec.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ void ClusterReader::run(ProcessingContext& pc)
7272
}
7373

7474
mState = 2;
75+
pc.services().get<ControlService>().endOfStream();
7576
pc.services().get<ControlService>().readyToQuit(QuitRequest::Me);
7677
}
7778

Detectors/TPC/workflow/src/TrackReaderSpec.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ void TrackReader::run(ProcessingContext& pc)
5151
}
5252

5353
mFinished = true;
54+
pc.services().get<ControlService>().endOfStream();
5455
pc.services().get<ControlService>().readyToQuit(QuitRequest::Me);
5556
}
5657

0 commit comments

Comments
 (0)