Skip to content

Commit 7a40466

Browse files
committed
fix(runtime): incomplete fix for socket stuck in SOCKET_STATE_UDP_RECV_STARTED state
1 parent a50acc7 commit 7a40466

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/runtime/udp/manager.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace ssc::runtime::udp {
2323
Lock lock(this->mutex);
2424
for (const auto& entry : this->sockets) {
2525
auto& socket = entry.second;
26-
if (socket != nullptr && (socket->isBound() || socket->isConnected())) {
26+
if (socket != nullptr) {
2727
socket->pause();
2828
}
2929
}

0 commit comments

Comments
 (0)