mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-22 20:55:52 +12:00
Build with .NET 7.0 release
This commit is contained in:
parent
c0bde9f864
commit
6e2f8e7483
2 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue