diff OrthancServer/OrthancRestApi/OrthancRestSystem.cpp @ 2617:912a767911b0 jobs

back to a single Lua context
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 22 May 2018 12:45:34 +0200
parents 2f3007bf0708
children 73d7d95dd75e
line wrap: on
line diff
--- a/OrthancServer/OrthancRestApi/OrthancRestSystem.cpp	Tue May 22 12:25:37 2018 +0200
+++ b/OrthancServer/OrthancRestApi/OrthancRestSystem.cpp	Tue May 22 12:45:34 2018 +0200
@@ -124,7 +124,7 @@
     call.BodyToString(command);
 
     {
-      LuaScripting::Lock lock(context.GetLuaEventHandler());
+      LuaScripting::Lock lock(context.GetLuaScripting());
       lock.GetLua().Execute(result, command);
     }