comparison OrthancCppClient/SharedLibrary/AUTOGENERATED/OrthancCppClient.h @ 990:7cbcd580cd21

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 01 Jul 2014 17:17:45 +0200
parents de18e90d5507
children 7f748bac15e5
comparison
equal deleted inserted replaced
988:9ea31f012561 990:7cbcd580cd21
300 300
301 void Finalize() 301 void Finalize()
302 { 302 {
303 if (handle_ != LAAW_ORTHANC_CLIENT_HANDLE_NULL) 303 if (handle_ != LAAW_ORTHANC_CLIENT_HANDLE_NULL)
304 { 304 {
305 #if 0
306 /**
307 * Do not explicitly unload the shared library, as it might
308 * interfere with the destruction of static objects declared
309 * inside the library (e.g. this is the case of gflags that is
310 * internally used by googlelog).
311 **/
305 LAAW_ORTHANC_CLIENT_CLOSER(handle_); 312 LAAW_ORTHANC_CLIENT_CLOSER(handle_);
313 #endif
306 handle_ = LAAW_ORTHANC_CLIENT_HANDLE_NULL; 314 handle_ = LAAW_ORTHANC_CLIENT_HANDLE_NULL;
307 } 315 }
308 } 316 }
309 }; 317 };
310 }} 318 }}