Merge pull request #73811 from Vsono/master
Fix WebSocketMultiplayerPeer server crash when a client tries to connect.
This commit is contained in:
commit
09c8957f9d
1 changed files with 1 additions and 0 deletions
|
@ -340,6 +340,7 @@ void WebSocketMultiplayerPeer::_poll_server() {
|
|||
to_remove.insert(id);
|
||||
continue;
|
||||
}
|
||||
peer.connection = tls;
|
||||
}
|
||||
Ref<StreamPeerTLS> tls = static_cast<Ref<StreamPeerTLS>>(peer.connection);
|
||||
tls->poll();
|
||||
|
|
Loading…
Reference in a new issue