Skip to content

Commit 158753b

Browse files
committed
[修改]1. 修改启动进程进程合并
1 parent ce6dbbc commit 158753b

File tree

3 files changed

+231
-85
lines changed

3 files changed

+231
-85
lines changed

GameFrameX.StartUp/AppStartUpBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public virtual async Task StopAsync(string message = "")
7777
{
7878
GlobalSettings.IsAppRunning = false;
7979
LogHelper.ErrorConsole($"服务器类型:{Setting.ServerType} 停止! 终止原因:{message} 配置信息: {Setting.ToFormatString()}");
80-
StopServer();
80+
await StopServerAsync();
8181
AppExitSource?.TrySetResult(message);
8282
LogHelper.FlushAndSave();
8383
await Task.CompletedTask;

0 commit comments

Comments
 (0)