# HG changeset patch # User Sebastien Jodogne # Date 1395308819 -3600 # Node ID ec69658b031bf538bdb2475f6b68009c75586e1c # Parent fd36c80f096f2499adb9e2955b98159da191add6 fix diff -r fd36c80f096f -r ec69658b031b OrthancServer/ServerIndex.cpp --- a/OrthancServer/ServerIndex.cpp Wed Mar 19 20:41:38 2014 +0100 +++ b/OrthancServer/ServerIndex.cpp Thu Mar 20 10:46:59 2014 +0100 @@ -255,6 +255,7 @@ try { + boost::mutex::scoped_lock lock(that->mutex_); std::string sleepString = that->db_->GetGlobalProperty(GlobalProperty_FlushSleep); sleep = boost::lexical_cast(sleepString); }