Files
swiftcontrol/lib/services/screen_recording
Jonas Bark 69088cbb7f fix(screen-recording): guard re-entrant toggle; recover native start failures
- Ignore toggles during the transient starting/stopping states (in-flight
  guard) so a double-press can't double-start or stop-during-start.
- macOS: reset the recorder handle when start() throws, so one failure no
  longer permanently blocks recording (only stop() nilled it before).
- iOS: remove the broadcast picker view after triggering so a 1x1 view doesn't
  accumulate on the key window on every start.
- Report failures via recordError (was debugPrintStack, which vanishes in
  release builds). Adds an in-flight-toggle guard test.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-26 19:58:26 +02:00
..