mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 22:03:03 +01:00
Correct condition when mapped file of monitoring data should be removed.
This commit is contained in:
parent
0d4d79ecfb
commit
c4a2b69bfd
@ -149,7 +149,7 @@ MonitoringData::~MonitoringData()
|
||||
{
|
||||
Guard guard(this);
|
||||
|
||||
if (shared_memory->getHeader()->used == sizeof(Header))
|
||||
if (shared_memory->getHeader()->used == alignOffset(sizeof(Header)))
|
||||
shared_memory->removeMapFile();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user