comparison 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
comparison
equal deleted inserted replaced
1999:364cc624eb65 2000:39329372b667
955 context.Stop(); 955 context.Stop();
956 956
957 #if ORTHANC_PLUGINS_ENABLED == 1 957 #if ORTHANC_PLUGINS_ENABLED == 1
958 if (plugins) 958 if (plugins)
959 { 959 {
960 plugins->ResetServerContext();
960 context.ResetPlugins(); 961 context.ResetPlugins();
961 } 962 }
962 #endif 963 #endif
963 964
964 if (error != ErrorCode_Success) 965 if (error != ErrorCode_Success)