diff OrthancServer/ServerContext.h @ 1456:68827c07e683

fix recursive calls with Lua
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 02 Jul 2015 15:44:24 +0200
parents c0bdc47165ef
children e5e975e9b738
line wrap: on
line diff
--- a/OrthancServer/ServerContext.h	Thu Jul 02 15:17:19 2015 +0200
+++ b/OrthancServer/ServerContext.h	Thu Jul 02 15:44:24 2015 +0200
@@ -120,7 +120,7 @@
     LuaScripting lua_;
     OrthancPlugins* plugins_;
     ServerListeners listeners_;
-    boost::mutex listenersMutex_;
+    boost::recursive_mutex listenersMutex_;
 
     bool done_;
     SharedMessageQueue  pendingChanges_;