perf(context)!: release retired fibers and bound diagnostic history
Publish UPM package / publish (push) Successful in 2s
Publish NuGet packages / publish (push) Successful in 1m29s

This commit is contained in:
2026-09-29 10:14:41 +08:00
parent b93f3e6122
commit d3eca1f155
8 changed files with 220 additions and 19 deletions
+10
View File
@@ -69,3 +69,13 @@
- 仅主线程使用;异步转换在同步可完成路径上内联跑完(测试无需 PlayerLoop 泵即可确定性断言)。
- 测试中的 `TestAwait.Run` 同步阻塞等待,仅用于保证延续同步完成的测试代码。
## 可复用能力
<!-- shrink:capabilities -->
Capability: 动态模块依赖、provider 替换和可逆生命周期;声明式组合失败恢复
Aliases: 上下文 组件 加载 卸载 装卸 依赖 热替换 isolate intercept Cordis
Limits: 不提供具体战斗、资源、背包机制;同一 runtime 的组合操作须在所属线程串行协调
Extension: IShrinkComponent.Inject/Provide/Apply;ShrinkLoaderEntry 配置;ctx.Effect/Set/Get
Evidence: [ShrinkContextRuntime](Runtime/ShrinkContextRuntime.cs); [ShrinkContextLoader](Runtime/ShrinkContextDefaults.cs); [ShrinkCtx](Runtime/Context/ShrinkCtx.cs)
<!-- /shrink:capabilities -->