Browse Source

uninit one more critical section

merge-experiment
dunemaster 8 years ago
parent
commit
61dbf74423
2 changed files with 5 additions and 1 deletions
  1. +1
    -1
      build-windows/smtpsend/smtpsend.vcproj
  2. +4
    -0
      src/windows/win_init.cpp

+ 1
- 1
build-windows/smtpsend/smtpsend.vcproj View File

@ -43,7 +43,7 @@
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="../include/libetpan/;../include;../../src/gnu"
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;_MBCS;USE_SSL"
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;_MBCS"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"


+ 4
- 0
src/windows/win_init.cpp View File

@ -68,6 +68,9 @@ class win_init {
~win_init() {
WSACleanup();
#ifdef _MSC_VER
/* Uninitialize Mutexes */
mmapstring_uninit_lock();
#ifdef USE_SSL
mailstream_ssl_uninit_lock();
#endif
@ -75,6 +78,7 @@ class win_init {
#ifdef USE_SASL
mailsasl_uninit_lock();
#endif
#endif
}
private:


Loading…
Cancel
Save