diff options
| author | 2022-06-03 22:18:42 +0000 | |
|---|---|---|
| committer | 2022-06-03 22:22:45 +0000 | |
| commit | 186b9e447b5bbe8997f15f3878875fc05bd0589b (patch) | |
| tree | 873fbcc8b7690508e776a1f8b877668f400583a5 /api/api.go | |
| parent | 9ff3c6b64cfe6043d4e29326f5ebdff286b047d2 (diff) | |
USB MIDI: Reset counter after unique codes full
Some tests continously plug and unplug MIDI devices.
After 1000 operations, there is an infinite while loop.
This CL clears up the hashset if it is nearly full.
Bug: 234688233
Test: Plug and unplug MIDI devices
Change-Id: Ie0c6359c07694e3f6cc4a3011fd39a525314ab94
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions