workaround hangs on PIBroadcast::stopRead
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user