You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Fix UDP wait() not returning after first received packet
(cherry picked from commit 5c6715a291)
This commit is contained in:
@@ -216,6 +216,8 @@ Error PacketPeerUDPPosix::_poll(bool p_wait) {
|
||||
|
||||
len = sizeof(struct sockaddr_storage);
|
||||
++queue_count;
|
||||
if (p_wait)
|
||||
break;
|
||||
};
|
||||
|
||||
// TODO: Should ECONNRESET be handled here?
|
||||
|
||||
Reference in New Issue
Block a user