mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-05-07 17:21:16 +08:00
fix(scene): 修复场景替换核心异步执行的配置问题
- 将 ConfigureAwait 参数从 false 修改为 true - 确保异步操作在正确的上下文中继续执行 - 避免潜在的死锁或性能问题
This commit is contained in:
parent
4740d30fb7
commit
70c42b579f
@ -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
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user