diff --git a/src/Joystick/JoystickSDL.cc b/src/Joystick/JoystickSDL.cc index 915d4c47fd473ba174853c7cb6bbc78b35d33164..9e96eebfe5c82adba426633d156bd8614bb5604d 100644 --- a/src/Joystick/JoystickSDL.cc +++ b/src/Joystick/JoystickSDL.cc @@ -145,7 +145,10 @@ void JoystickSDL::_close(void) { if (SDL_JoystickInstanceID(sdlJoystick) != -1) { qCDebug(JoystickLog) << "\tID:" << SDL_JoystickInstanceID(sdlJoystick); - SDL_JoystickClose(sdlJoystick); + // This segfaults so often, and I've spent so much time trying to find the cause and fix it + // I think this might be an SDL bug + // We are much more stable just commenting this out + //SDL_JoystickClose(sdlJoystick); } }