8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 04:43:03 +01:00

No sense keeping old value of shared memory pointer when file is already unmapped - thanks to Claudio

This commit is contained in:
alexpeshkoff 2009-04-10 10:35:45 +00:00
parent a6753b3ed2
commit c4f37d6f9b
2 changed files with 2 additions and 0 deletions

View File

@ -183,6 +183,7 @@ void EventManager::detach_shared_file()
{
ISC_mutex_fini(MUTEX);
ISC_unmap_file(local_status, &m_shmemData);
m_header = NULL;
}
}

View File

@ -284,6 +284,7 @@ void LockManager::detach_shared_file(ISC_STATUS* status)
{
ISC_mutex_fini(MUTEX);
ISC_unmap_file(status, &m_shmem);
m_header = NULL;
}
}