Build with .NET 7.0 release

This commit is contained in:
Li 2022-11-11 02:33:44 +13:00
parent c0bde9f864
commit 6e2f8e7483
2 changed files with 8 additions and 8 deletions

View file

@ -122,7 +122,7 @@ namespace HISP.Server
{
try
{
do
while (!GameServer.ServerSocket.AcceptAsync(e))
{
Socket eSocket = e.AcceptSocket;
@ -137,7 +137,7 @@ namespace HISP.Server
if (GameServer.ServerSocket == null)
return;
} while (!GameServer.ServerSocket.AcceptAsync(e));
}
}
catch (ObjectDisposedException ex) { Logger.ErrorPrint("Server shutdown due to " + ex.Message); } // server shutdown
}