diff OrthancServer/LuaScripting.cpp @ 3851:6498739a3c3c

refactoring: TimeoutDicomConnectionManager is now only used by Lua
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 20 Apr 2020 16:46:44 +0200
parents 281045a1e6db
children 8f7ad4989fec
line wrap: on
line diff
--- a/OrthancServer/LuaScripting.cpp	Mon Apr 20 14:45:21 2020 +0200
+++ b/OrthancServer/LuaScripting.cpp	Mon Apr 20 16:46:44 2020 +0200
@@ -772,6 +772,8 @@
           LOG(ERROR) << "Error while processing Lua events: " << e.What();
         }
       }
+
+      that->jobManager_.GetDicomConnectionManager().CloseIfInactive();
     }
   }