mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
ITS#8844 use getpid() in mdb_env_close0()
This commit is contained in:
parent
b0a6dbcc70
commit
3b01bbbc67
1 changed files with 1 additions and 1 deletions
|
|
@ -5063,7 +5063,7 @@ mdb_env_close0(MDB_env *env, int excl)
|
||||||
if (env->me_fd != INVALID_HANDLE_VALUE)
|
if (env->me_fd != INVALID_HANDLE_VALUE)
|
||||||
(void) close(env->me_fd);
|
(void) close(env->me_fd);
|
||||||
if (env->me_txns) {
|
if (env->me_txns) {
|
||||||
MDB_PID_T pid = env->me_pid;
|
MDB_PID_T pid = getpid();
|
||||||
/* Clearing readers is done in this function because
|
/* Clearing readers is done in this function because
|
||||||
* me_txkey with its destructor must be disabled first.
|
* me_txkey with its destructor must be disabled first.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue