diff OrthancServer/ServerContext.h @ 1129:8dabdc0d3007

fix possible deadlock
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 08 Sep 2014 15:47:53 +0200
parents bf67431a7383
children 382e162c074c
line wrap: on
line diff
--- a/OrthancServer/ServerContext.h	Mon Sep 08 15:22:21 2014 +0200
+++ b/OrthancServer/ServerContext.h	Mon Sep 08 15:47:53 2014 +0200
@@ -97,6 +97,7 @@
     private:
       ServerContext& that_;
       ParsedDicomFile *dicom_;
+      boost::mutex::scoped_lock lock_;
 
     public:
       DicomCacheLocker(ServerContext& that,