Skip to content

Commit

Permalink
Make sure to only run finish once
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Jul 13, 2023
1 parent 6409d58 commit 654ad98
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/SIOFrameWriter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ void SIOFrameWriter::finish() {
m_stream.write(reinterpret_cast<char*>(&finalWords), sizeof(finalWords));

m_stream.close();

m_finished = true;
}

} // namespace podio

0 comments on commit 654ad98

Please # to comment.