mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
[Net] Make StreamPeerTCP::_poll_connection explicit.
No longer hacked into `get_status` and renamed to `poll`. The old `poll` (for *nix `poll`, win `select`) is now called `wait`.
This commit is contained in:
@@ -273,6 +273,7 @@ void WSLClient::poll() {
|
||||
return; // Not connected.
|
||||
}
|
||||
|
||||
_tcp->poll();
|
||||
switch (_tcp->get_status()) {
|
||||
case StreamPeerTCP::STATUS_NONE:
|
||||
// Clean close
|
||||
|
||||
Reference in New Issue
Block a user