-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
What Happend
When I physically remove the device, I expect this event to be triggered, but it doesn't—nothing is sent.
Additionally, when I manually close the serial port using close(), it also fails to trigger.
Addition Infomation
Another noteworthy phenomenon is that after opening the serial port and removing the device, executing SerialPort.available_ports() yields the following result: it incorrectly retains the device that has been physically disconnected. When I manually close the serial port and execute SerialPort.available_ports() again, I get the expected result: the device is no longer listed in the serial port list.
the resute of SerialPort.available_ports() after physically removed
the resute of SerialPort.available_ports() when connected normally

Metadata
Metadata
Assignees
Labels
No labels