# HG changeset patch # User Alain Mazy # Date 1714058211 -7200 # Node ID cc4b7b4d5debdffa322ea5ca23ca50e515d945b3 # Parent e791a74ea9467aa635e9494c172fbe819b3a44cc fix diff -r e791a74ea946 -r cc4b7b4d5deb OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp --- a/OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp Tue Apr 23 10:27:15 2024 +0200 +++ b/OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp Thu Apr 25 17:16:51 2024 +0200 @@ -92,7 +92,9 @@ void ResetGlobalContext() { globalContext_ = NULL; +#if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 12, 4) && ORTHANC_FRAMEWORK_VERSION_IS_ABOVE(1, 12, 4) pluginName_ = NULL; +#endif } bool HasGlobalContext()