diff OrthancServer/LuaScripting.cpp @ 2665:389d050a2e66 jobs

fix deadlock, speed up unit tests
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 08 Jun 2018 13:51:31 +0200
parents 1da5a052c777
children 3fc310ceb6d4
line wrap: on
line diff
--- a/OrthancServer/LuaScripting.cpp	Thu Jun 07 21:37:40 2018 +0200
+++ b/OrthancServer/LuaScripting.cpp	Fri Jun 08 13:51:31 2018 +0200
@@ -581,6 +581,7 @@
     {
       LOG(INFO) << "Starting the Lua engine";
       eventThread_ = boost::thread(EventThread, this);
+      state_ = State_Running;
     }
   }