MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / ~MonitoringData

Method ~MonitoringData

src/jrd/Monitoring.cpp:170–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168
169
170MonitoringData::~MonitoringData()
171{
172 Guard guard(this);
173
174 try
175 {
176 if (m_sharedMemory->getHeader() &&
177 m_sharedMemory->getHeader()->used == HEADER_SIZE)
178 {
179 m_sharedMemory->removeMapFile();
180 }
181 }
182 catch (const Exception&)
183 {} // no-op
184}
185
186
187void MonitoringData::initSharedFile()

Callers

nothing calls this directly

Calls 2

removeMapFileMethod · 0.80
getHeaderMethod · 0.45

Tested by

no test coverage detected