Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ble/sagas: add workaround for BlueZ quirk
The 'gattserverdisconnected' event is called before the device is actually disconnected, so if the user tries to connect again immediately, the web browser will show a still "paired" device, but selecting this devices results in an infinite wait. This is a bug in Chromium, but we can work around it by adding a delay to give BlueZ time to actually disconnect the device. Closes: pybricks/support#600
- Loading branch information