usb-proxy icon indicating copy to clipboard operation
usb-proxy copied to clipboard

reset device may trigger hotplug thread and the process will be killed

Open AristoChen opened this issue 1 year ago • 0 comments

Based on the discussion, we may need to implement a mechanism to prevent the hotplug thread kill the process if the Host send reset request

These might not be the best solution, but what I have in my mind now are

  1. Stop the hotplug thread before reset, and try to restart the hotplug thread after reset
  2. Add a flag like this commit to let user decide whether the hotplug thread should be created or not, which will be default yes.

AristoChen avatar Jan 15 '24 09:01 AristoChen