Mercurial > hg > orthanc
changeset 5570:cc4b7b4d5deb
fix
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Thu, 25 Apr 2024 17:16:51 +0200 |
parents | e791a74ea946 |
children | addccb1590d2 |
files | OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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()