Skip to content

Conversation

@laanwj
Copy link

@laanwj laanwj commented Feb 11, 2026

Fix a crash on joystick disconnection by checking that pJoystick[i] is non-null before dereferencing it.

(im running into this regularly while disconnecting the session in moonlight/sunshine, which removes a bunch of virtual libevent devices)

Check that `pJoystick[i]` is non-null before dereferencing it.
@wookieejedi wookieejedi added fix A fix for bugs, not-a-bugs, and/or regressions. controls A feature or issue related to input devices or actions controlled/triggered by them labels Feb 11, 2026
@wookieejedi wookieejedi added this to the Release 25.0.1 milestone Feb 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

controls A feature or issue related to input devices or actions controlled/triggered by them fix A fix for bugs, not-a-bugs, and/or regressions.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants