mirror of
https://github.com/jonasbark/swiftcontrol.git
synced 2026-11-30 01:34:57 +01:00
Symbolicating a Rouvy user's 6.1 crashes (Shorebird patch build_id 4b7026f5fbf44e52452ba9e557c2c5a0) surfaced two "Null check operator used on a null value" crashes: async UI callbacks running after their widget was disposed (the user rapidly re-toggled the Zwift BLE option as advertising kept failing). - ZwiftTile.onChange: setState() ran after `await stopAllBleConnections` on an unmounted state -> guard with `mounted`. - ConnectionMethod: openPermissionSheet(context, ...) and setState() ran after `await Future.wait(requirements)` on a defunct context -> guard both async gaps with `context.mounted` (matching the existing guard at line 315). The underlying trigger (Zwift emulator "Data too large" advertise failure on Rouvy) is tracked separately for the 6.2 branch. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>