Expected Behavior
One alert is shown when hardware peripheral disconnects.
Actual Behavior
In some cases, two, redundant alerts display.
Cases to Consider:
- Preventing the VM from requesting the alert twice- it should only be when the socket closes
- Preventing the alert from getting sent if we were not already connected
- What about if you connect, disconnect, connect, disconnect. Okay to see two alerts? Lets ask Carl and Kathy
该提问来源于开源项目:LLK/scratch-vm