manolofdez / AsyncBluetooth

A small library that adds concurrency to CoreBluetooth APIs.
MIT License
160 stars 30 forks source link

[Bugfix] Fix reading crashing updating executors from different threads #38

Closed manolofdez closed 10 months ago

manolofdez commented 10 months ago

The contexts' flushable lists are not thread safe. The code around that list has been reported as a cause of crashes. While I was unable to reproduce the crash, I believe this fix should address the issues.