diff Core/Lua/LuaFunctionCall.cpp @ 996:cf52f3bcb2b3 lua-scripting

clarification of Lua classes wrt multithreading
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 03 Jul 2014 16:27:16 +0200
parents a811bdf8b8eb
children 1b1d51e9f1a2
line wrap: on
line diff
--- a/Core/Lua/LuaFunctionCall.cpp	Thu Jul 03 15:58:53 2014 +0200
+++ b/Core/Lua/LuaFunctionCall.cpp	Thu Jul 03 16:27:16 2014 +0200
@@ -33,6 +33,8 @@
 #include "../PrecompiledHeaders.h"
 #include "LuaFunctionCall.h"
 
+#include <cassert>
+
 
 namespace Orthanc
 {
@@ -47,7 +49,6 @@
   LuaFunctionCall::LuaFunctionCall(LuaContext& context,
                                    const char* functionName) : 
     context_(context),
-    lock_(context.mutex_),
     isExecuted_(false)
   {
     // Clear the stack to fulfill the invariant