CONTINUE, NOT RETURN!!!

This commit is contained in:
Li 2022-10-26 22:45:22 +13:00
parent 3e3d840ce6
commit 4c09390ac8
6 changed files with 14 additions and 14 deletions

View file

@ -129,7 +129,7 @@ namespace HISP.Server
if (GameServer.ServerSocket == null)
return;
if (eSocket == null)
return;
continue;
if (eSocket.RemoteEndPoint == null)
continue;
new GameClient(eSocket);
@ -139,7 +139,7 @@ namespace HISP.Server
return;
} while (!GameServer.ServerSocket.AcceptAsync(e));
}
catch (ObjectDisposedException) { } // server shutdown
catch (ObjectDisposedException ex) { Logger.CrashPrint("Server shutdown due to " + ex.Message); } // server shutdown
}
private void timeoutTimerTick(object state)
{