workaround hangs on PIBroadcast::stopRead

This commit is contained in:
2025-03-06 16:26:38 +03:00
parent 8e18ec15c9
commit f09fe03e0d

View File

@@ -240,8 +240,8 @@ void PIBroadcast::stopRead() {
if (isRunning()) stopAndWait();
PIMutexLocker ml(mcast_mutex);
for (auto * e: eth_mcast)
e->stopAndWait();
if (eth_lo) eth_lo->stopAndWait();
e->stopAndWait(5_s);
if (eth_lo) eth_lo->stopAndWait(5_s);
_started = false;
}