Mercurial > hg > orthanc
comparison OrthancServer/LuaScripting.cpp @ 2620:1232922c8793 jobs
speeding up shutdown if Lua script is in trailing phase
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 22 May 2018 14:08:57 +0200 |
parents | ef5b45884972 |
children | 25ae209dcea9 |
comparison
equal
deleted
inserted
replaced
2619:4ecb79c6e81c | 2620:1232922c8793 |
---|---|
586 } | 586 } |
587 | 587 |
588 continue_ = false; | 588 continue_ = false; |
589 } | 589 } |
590 | 590 |
591 jobManager_.AwakeTrailingSleep(); | |
592 | |
591 if (eventThread_.joinable()) | 593 if (eventThread_.joinable()) |
592 { | 594 { |
593 LOG(INFO) << "Stopping the Lua engine"; | 595 LOG(INFO) << "Stopping the Lua engine"; |
594 eventThread_.join(); | 596 eventThread_.join(); |
595 LOG(INFO) << "The Lua engine has stopped"; | 597 LOG(INFO) << "The Lua engine has stopped"; |