diff OrthancServer/main.cpp @ 1199:a843ee8bb903 db-changes

separated thread for change callbacks in plugins
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 23 Oct 2014 14:29:45 +0200
parents e95e7f9eba96
children 178de5edc0a8
line wrap: on
line diff
--- a/OrthancServer/main.cpp	Thu Oct 23 13:52:01 2014 +0200
+++ b/OrthancServer/main.cpp	Thu Oct 23 14:29:45 2014 +0200
@@ -585,6 +585,10 @@
     // We're done
     LOG(WARNING) << "Orthanc is stopping";
 
+#if ENABLE_PLUGINS == 1
+    orthancPlugins.Stop();
+#endif
+
     dicomServer.Stop();
     httpServer.Stop();
   }