Fixed bug 2953 - Crash due to a bad cleanup in the SDL_SYS_HapticQuit function

Technically this is caused by the haptic devices not being closed at quit time, which we need to fix anyway, but this is a bandaid for now.
This commit is contained in:
Sam Lantinga
2015-06-14 19:21:13 -07:00
parent a4eb0dea86
commit e3df6d5e66
6 changed files with 14 additions and 3 deletions

View File

@@ -1162,5 +1162,6 @@ SDL_SYS_HapticStopAll(SDL_Haptic * haptic)
return 0;
}
#endif /* SDL_HAPTIC_LINUX */
/* vi: set ts=4 sw=4 expandtab: */