diff Plugins/Engine/OrthancPlugins.cpp @ 1328:b7351ecb79b4

fix in the plugin destruction
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 18 Feb 2015 13:06:01 +0100
parents 61ce8147f30d
children 272cb2019a4c
line wrap: on
line diff
--- a/Plugins/Engine/OrthancPlugins.cpp	Mon Feb 16 12:05:20 2015 +0100
+++ b/Plugins/Engine/OrthancPlugins.cpp	Wed Feb 18 13:06:01 2015 +0100
@@ -1201,6 +1201,12 @@
     pimpl_->restApi_ = &restApi;
   }
 
+
+  void  OrthancPlugins::ResetOrthancRestApi()
+  {
+    pimpl_->restApi_ = NULL;
+  }
+
   
   bool OrthancPlugins::HasStorageArea() const
   {