Fix LinesPanelV2 Dispose Provider Lookup Assertion
#16
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description: Intermittent Flutter assertion: “Looking up a deactivated widget's ancestor is unsafe” from
LinesPanelV2.dispose(context.read(...)during unmount). Refactor to avoid context lookup in dispose (cache dependency earlier or decouple commit path).Acceptance: No assertion when rapidly opening/closing panel or switching tools.