diff OrthancServer/main.cpp @ 1447:5ba7471780ae

refactoring: HttpToolbox, DumpJson in Lua
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 01 Jul 2015 17:42:06 +0200
parents b2b09a3dbd8e
children b737acb13da5
line wrap: on
line diff
--- a/OrthancServer/main.cpp	Wed Jul 01 13:16:12 2015 +0200
+++ b/OrthancServer/main.cpp	Wed Jul 01 17:42:06 2015 +0200
@@ -545,6 +545,8 @@
     // We're done
     LOG(WARNING) << "Orthanc is stopping";
 
+    context->Stop();
+
 #if ENABLE_PLUGINS == 1
     context->ResetPlugins();
     plugins.ResetOrthancRestApi();