Reset recv udp flag on connection close

This commit is contained in:
Jack Garrard 2022-10-23 17:52:34 -07:00
parent 694c9e73d6
commit 2654650804

View file

@ -381,6 +381,7 @@ bool SocketClient::closeSocket() {
Logger::log("Closing Socket.\n"); Logger::log("Closing Socket.\n");
has_recv_udp = false;
bool result = false; bool result = false;
if (!(result = SocketBase::closeSocket())) { if (!(result = SocketBase::closeSocket())) {