mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-06 05:05:40 +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
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
|
@ -21,8 +21,8 @@ jobs:
|
|||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
dotnet-version: 7.0.100-preview.5.22307.18
|
||||
include-prerelease: true
|
||||
dotnet-version: 7.0
|
||||
include-prerelease: false
|
||||
- name: Install utils
|
||||
run: |
|
||||
sudo apt update
|
||||
|
@ -191,8 +191,8 @@ jobs:
|
|||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
dotnet-version: 7.0.100-preview.5.22307.18
|
||||
include-prerelease: true
|
||||
dotnet-version: 7.0
|
||||
include-prerelease: false
|
||||
|
||||
- name: Install utils
|
||||
run: dotnet tool install -g dotnet-script
|
||||
|
@ -315,8 +315,8 @@ jobs:
|
|||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
dotnet-version: 7.0.100-preview.5.22307.18
|
||||
include-prerelease: true
|
||||
dotnet-version: 7.0
|
||||
include-prerelease: false
|
||||
|
||||
- name: Install utils
|
||||
run: dotnet tool install -g dotnet-script
|
||||
|
|
|
@ -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
Reference in a new issue