diff --git a/src/utilities/ntrace/PluginLogWriter.cpp b/src/utilities/ntrace/PluginLogWriter.cpp index 284dc10f00..1a09af23a6 100644 --- a/src/utilities/ntrace/PluginLogWriter.cpp +++ b/src/utilities/ntrace/PluginLogWriter.cpp @@ -96,9 +96,6 @@ PluginLogWriter::~PluginLogWriter() if (m_fileHandle != -1) ::close(m_fileHandle); - - if (m_sharedMemory && m_sharedMemory->getHeader()) - m_sharedMemory->removeMapFile(); } SINT64 PluginLogWriter::seekToEnd()