diff OrthancServer/ServerIndex.cpp @ 2217:4f39ab2cb453

flush
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 12 Dec 2016 11:56:26 +0100
parents e3fd5bc429a2
children a3a65de1840f
line wrap: on
line diff
--- a/OrthancServer/ServerIndex.cpp	Mon Dec 12 11:01:09 2016 +0100
+++ b/OrthancServer/ServerIndex.cpp	Mon Dec 12 11:56:26 2016 +0100
@@ -374,6 +374,8 @@
         continue;
       }
 
+      Logging::Flush();
+
       boost::mutex::scoped_lock lock(that->mutex_);
       that->db_.FlushToDisk();
       count = 0;