mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-10-23 00:27:24 +00:00
Fixed the concurrent modification problem with the gamepad linked list
This commit is contained in:
1 parent
3c25765b9a
commit
300122c04f
1 file changed
-1
@@ -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