You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f2820f7
Browse filesBrowse the repository at this point in the historyBrowse files
Fix BLE close() deadlock from re-entrant disconnect callback
When close() disconnects the BLE device, Bleak fires the
disconnected_callback which calls close() again. The second
close() tries to disconnect while the first is still in progress,
causing a deadlock. Add a _closing guard flag to prevent the
re-entrant call.
Co-authored-by: Cursor <cursoragent@cursor.com>
0 commit comments