Commit f95409b5 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Write empty record on collectors not participating in file write.

* This ensures synchronization.
parent 8618024f
......@@ -638,7 +638,11 @@ static void readGetBuffers()
{
int headerIdx, lastHeaderIdx = map.entries[streamIdx].lastHeaderIdx;
if (lastHeaderIdx < 0)
break;
{
cdiPioFileWrite(streamInqFileID(streamID), NULL, 0,
streamInqCurTimestepID(streamID));
break;
}
for (headerIdx = map.entries[streamIdx].firstHeaderIdx;
headerIdx <= lastHeaderIdx;
headerIdx += 2)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment