Skip to content

Commit b574050

Browse files
committed
TRD Kr writer avoid crash at EOR (#12150)
1 parent 0e63dca commit b574050

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Detectors/TRD/workflow/io/include/TRDWorkflowIO/KrClusterWriterSpec.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ class TRDKrClsWriterTask : public o2::framework::Task
121121
LOG(info) << "Run stop requested, closing output file";
122122
mRunStopRequested = true;
123123
closeOutputFile();
124+
return;
124125
}
125126
auto cluster = pc.inputs().get<gsl::span<KrCluster>>("krcluster");
126127
auto triggerRecords = pc.inputs().get<gsl::span<KrClusterTriggerRecord>>("krtrigrec");

0 commit comments

Comments
 (0)