From 3627a36af029d345154fe9eb9c1843d4ba654f8b Mon Sep 17 00:00:00 2001 From: marcus o'flaherty Date: Mon, 27 Apr 2026 09:22:24 +0000 Subject: [PATCH] add missing unlock of mutex in monitoring buffer queue --- src/ServiceDiscovery/Services.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ServiceDiscovery/Services.cpp b/src/ServiceDiscovery/Services.cpp index 0e54fe3..41a82e2 100644 --- a/src/ServiceDiscovery/Services.cpp +++ b/src/ServiceDiscovery/Services.cpp @@ -1253,6 +1253,9 @@ void Services::BufferThread(Thread_args* args){ m_args->monitoring_buf->clear(); // FIXME do we not clear on error...? does it depend on the error...? } + // release monitoring buffer mtx + locker.unlock(); + std::this_thread::sleep_until(m_args->last_send+m_args->multicast_send_period_ms); return;