@ -126,6 +126,7 @@ bool tcp_client::SNetLeaveGame(int type)
poll();
if (local_server != nullptr)
local_server->close();
sock.close();
return ret;
}