diff OrthancServer/main.cpp @ 2000:39329372b667

Speedup in plugins by removing unnecessary locks
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 31 May 2016 12:19:53 +0200
parents 364cc624eb65
children e2dd40abce72
line wrap: on
line diff
--- a/OrthancServer/main.cpp	Thu May 26 14:24:56 2016 +0200
+++ b/OrthancServer/main.cpp	Tue May 31 12:19:53 2016 +0200
@@ -957,6 +957,7 @@
 #if ORTHANC_PLUGINS_ENABLED == 1
   if (plugins)
   {
+    plugins->ResetServerContext();
     context.ResetPlugins();
   }
 #endif