Closed emaxx-google closed 8 months ago
The patch is pretty nontrivial and I didn't manage to split it up further, so sorry for that. Also still working on a unit test...
Continuous Integration: All tests passed. C/C++ test coverage: 73.23% lines.
Continuous Integration: All tests passed. C/C++ test coverage: 73.28% lines.
Continuous Integration: All tests passed. C/C++ test coverage: 73.28% lines.
Don't make new chrome.usb/WebUSB API calls in case there're already running equivalent ones (for input transfers).
Besides consuming Chrome resources, these extra calls were reportedly leading to hitting the OS kernel limits on the number of active transfers, which completely broke the USB communication in some cases.
This fixes #1104.