From 1c3304861e6fbffdbf8175c198dd051a8853e028 Mon Sep 17 00:00:00 2001 From: Babicaa Date: Tue, 2 Apr 2019 15:44:21 +0200 Subject: [PATCH] Do not stop the process when the writer finishes. --- lib/src/ProcessManager.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/src/ProcessManager.cpp b/lib/src/ProcessManager.cpp index e23831a..a67f751 100644 --- a/lib/src/ProcessManager.cpp +++ b/lib/src/ProcessManager.cpp @@ -291,14 +291,12 @@ void ProcessManager::write_h5 (string output_file, uint64_t n_frames) #endif writer->close_file(); + #ifdef DEBUG_OUTPUT using namespace date; cout << "[" << std::chrono::system_clock::now() << "]"; cout << "[ProcessManager::write] Writer thread stopped." << endl; #endif - - // Exit when writer thread has closed the file. - exit(0); } void ProcessManager::write_h5_format(H5::H5File& file) {