mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-06 21:25:42 +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
|
- name: Setup .NET
|
||||||
uses: actions/setup-dotnet@v1
|
uses: actions/setup-dotnet@v1
|
||||||
with:
|
with:
|
||||||
dotnet-version: 7.0.100-preview.5.22307.18
|
dotnet-version: 7.0
|
||||||
include-prerelease: true
|
include-prerelease: false
|
||||||
- name: Install utils
|
- name: Install utils
|
||||||
run: |
|
run: |
|
||||||
sudo apt update
|
sudo apt update
|
||||||
|
@ -191,8 +191,8 @@ jobs:
|
||||||
- name: Setup .NET
|
- name: Setup .NET
|
||||||
uses: actions/setup-dotnet@v1
|
uses: actions/setup-dotnet@v1
|
||||||
with:
|
with:
|
||||||
dotnet-version: 7.0.100-preview.5.22307.18
|
dotnet-version: 7.0
|
||||||
include-prerelease: true
|
include-prerelease: false
|
||||||
|
|
||||||
- name: Install utils
|
- name: Install utils
|
||||||
run: dotnet tool install -g dotnet-script
|
run: dotnet tool install -g dotnet-script
|
||||||
|
@ -315,8 +315,8 @@ jobs:
|
||||||
- name: Setup .NET
|
- name: Setup .NET
|
||||||
uses: actions/setup-dotnet@v1
|
uses: actions/setup-dotnet@v1
|
||||||
with:
|
with:
|
||||||
dotnet-version: 7.0.100-preview.5.22307.18
|
dotnet-version: 7.0
|
||||||
include-prerelease: true
|
include-prerelease: false
|
||||||
|
|
||||||
- name: Install utils
|
- name: Install utils
|
||||||
run: dotnet tool install -g dotnet-script
|
run: dotnet tool install -g dotnet-script
|
||||||
|
|
|
@ -122,7 +122,7 @@ namespace HISP.Server
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
do
|
while (!GameServer.ServerSocket.AcceptAsync(e))
|
||||||
{
|
{
|
||||||
Socket eSocket = e.AcceptSocket;
|
Socket eSocket = e.AcceptSocket;
|
||||||
|
|
||||||
|
@ -137,7 +137,7 @@ namespace HISP.Server
|
||||||
|
|
||||||
if (GameServer.ServerSocket == null)
|
if (GameServer.ServerSocket == null)
|
||||||
return;
|
return;
|
||||||
} while (!GameServer.ServerSocket.AcceptAsync(e));
|
}
|
||||||
}
|
}
|
||||||
catch (ObjectDisposedException ex) { Logger.ErrorPrint("Server shutdown due to " + ex.Message); } // server shutdown
|
catch (ObjectDisposedException ex) { Logger.ErrorPrint("Server shutdown due to " + ex.Message); } // server shutdown
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue