MCPcopy Create free account
hub / github.com/deskflow/deskflow / close

Method close

src/lib/deskflow/PacketStreamFilter.cpp:25–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25void PacketStreamFilter::close()
26{
27 std::scoped_lock lock{m_mutex};
28 m_size = 0;
29 m_buffer.pop(m_buffer.getSize());
30 StreamFilter::close();
31}
32
33uint32_t PacketStreamFilter::read(void *buffer, uint32_t n)
34{

Callers

nothing calls this directly

Calls 2

popMethod · 0.45
getSizeMethod · 0.45

Tested by

no test coverage detected