Skip to content

Conversation

@jackjackbits
Copy link
Collaborator

Summary

  • Fix isAppActive race condition by dispatching notification handlers to bleQueue
  • Ensure BLE operations (stopScan, startScanning) execute on bleQueue
  • Add re-entrancy detection to NoiseSessionManager to prevent deadlocks
  • Add assertions for barrier operations to catch threading issues in debug builds

Test plan

  • Verify app state transitions (foreground/background) work correctly
  • Verify BLE scanning restarts appropriately on state changes
  • Run in debug mode to ensure no assertion failures during normal operation

- Fix isAppActive race condition by dispatching notification handlers to bleQueue
- Ensure BLE operations (stopScan, startScanning) execute on bleQueue
- Add re-entrancy detection to NoiseSessionManager to prevent deadlocks
- Add assertions for barrier operations to catch threading issues in debug builds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant