Race condition between sending an RPC and BLED112 disconnection on virtual device
Open
type:bug
- Dominant language
- Python
- Stars
- 14
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
See _call_rpc in `virtual_bled112.py`.
If an RPC comes and the user disconnects before the response is sent, the `_send_notification` calls will raise an exception and kill the process. This needs a guard like the stream functions have to check for 0x181 responses and eat them.
Contributor guide
Assessment
This issue has not been assessed yet.