MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / ~FrameReader

Method ~FrameReader

app/src/IO/FrameReader.cpp:64–69  ·  view source on GitHub ↗

* @brief Releases the scan-buffer pin so the lock quota returns before the buffer is freed. */

Source from the content-addressed store, hash-verified

62 * @brief Releases the scan-buffer pin so the lock quota returns before the buffer is freed.
63 */
64IO::FrameReader::~FrameReader()
65{
66 if (m_bufferPinned)
67 Platform::AppPlatform::unlockMemoryResident(m_circularBuffer.storage(),
68 static_cast<size_t>(m_circularBuffer.capacity()));
69}
70
71//--------------------------------------------------------------------------------------------------
72// Data entry point

Callers

nothing calls this directly

Calls 3

unlockMemoryResidentFunction · 0.85
storageMethod · 0.80
capacityMethod · 0.45

Tested by

no test coverage detected