fix(scene): 修复场景替换核心异步执行的配置问题

- 将 ConfigureAwait 参数从 false 修改为 true
- 确保异步操作在正确的上下文中继续执行
- 避免潜在的死锁或性能问题
This commit is contained in:
GeWuYou 2026-04-25 13:11:45 +08:00
parent 4740d30fb7
commit 70c42b579f

View File

@ -91,7 +91,7 @@ public abstract class SceneRouterBase
await _pipeline.ExecuteAroundAsync(
@event,
() => ExecuteReplaceCoreAsync(@event, sceneKey, param)).ConfigureAwait(false);
() => ExecuteReplaceCoreAsync(@event, sceneKey, param)).ConfigureAwait(true);
}
finally
{