ITS#8342 MDB_VL32/WIN32 - close file mapping handle in env_close

rawpart
Howard Chu 9 years ago
parent c3852f29af
commit 1c2a5888cf
  1. 1
      libraries/liblmdb/mdb.c

@ -5350,6 +5350,7 @@ mdb_env_close0(MDB_env *env, int excl)
}
#ifdef MDB_VL32
#ifdef _WIN32
if (env->me_fmh) CloseHandle(env->me_fmh);
if (env->me_rpmutex) CloseHandle(env->me_rpmutex);
#else
pthread_mutex_destroy(&env->me_rpmutex);

Loading…
Cancel
Save