mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-08-04 18:52:26 +02:00
Internalize file closing
This commit is contained in:
@@ -143,8 +143,6 @@ int main (int argc, char *argv[])
|
||||
cout << write_us_duration / BUFFER_BLOCK_SIZE << endl;
|
||||
}
|
||||
|
||||
writer.close_file();
|
||||
|
||||
for (auto& reading_thread :reading_threads) {
|
||||
if (reading_thread.joinable()) {
|
||||
reading_thread.join();
|
||||
|
||||
Reference in New Issue
Block a user