workaround hangs on PIBroadcast::stopRead
This commit is contained in:
@@ -240,8 +240,8 @@ void PIBroadcast::stopRead() {
|
|||||||
if (isRunning()) stopAndWait();
|
if (isRunning()) stopAndWait();
|
||||||
PIMutexLocker ml(mcast_mutex);
|
PIMutexLocker ml(mcast_mutex);
|
||||||
for (auto * e: eth_mcast)
|
for (auto * e: eth_mcast)
|
||||||
e->stopAndWait();
|
e->stopAndWait(5_s);
|
||||||
if (eth_lo) eth_lo->stopAndWait();
|
if (eth_lo) eth_lo->stopAndWait(5_s);
|
||||||
_started = false;
|
_started = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user