← 返回事件
持续讨论AI发版

trunk/43ddcfd68d4d908c34c5f821f2ab20027900af3b: [precompile] Keep one lifecycle state in Capture (#198423)

发生了什么

Problem. Each tracer's capture ran its own with -block lifecycle from its own flags, so a Dynamo capture misused after its block gave different errors than a make_fx one, and a spent make_fx capture kept the pair its docstring says it drops. Fix. Capture owns the lifecycle as one state field under one lock, and the tracers implement only the hooks it calls. Summary. _MakeFxCapture tracked its block with two booleans…

摘要按规则整理自下方来源原文

为什么在扩散

来源