8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-02-02 10:40:38 +01:00

Postfix for PR #6996 : Fixes for fbtrace log rotation.

Remove mapping file after use.
This commit is contained in:
Vlad Khorsun 2022-07-21 12:57:59 +03:00
parent 75cb6760df
commit 788ce1082b

View File

@ -96,6 +96,9 @@ PluginLogWriter::~PluginLogWriter()
if (m_fileHandle != -1)
::close(m_fileHandle);
if (m_sharedMemory && m_sharedMemory->getHeader())
m_sharedMemory->removeMapFile();
}
SINT64 PluginLogWriter::seekToEnd()