mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-02-16 10:30:47 +00:00
Fixed the concurrent modification problem with the gamepad linked list
This commit is contained in:
@@ -44,7 +44,6 @@ public class GamepadHandler {
|
||||
while (true) {
|
||||
for (Gamepad gamepad : gamepads) {
|
||||
if (!gamepad.poll()) {
|
||||
gamepads.remove(gamepad);
|
||||
break;
|
||||
}
|
||||
gamepad.handleEvents();
|
||||
|
||||
Reference in New Issue
Block a user