FosterFramework / Foster

A small C# game framework
MIT License
422 stars 37 forks source link

SDL gamepads and joysticks are not closed on shutdown #69

Closed theofficialgman closed 6 months ago

theofficialgman commented 6 months ago

it appears that SDL_Quit is never called and gamepads and joysticks (among other things) stay initialized after any program built off of this framework exits. this leads to memory leaks and other issues

NoelFB commented 6 months ago

with #70 merged in is this fixed? I assume calling SDL_Quit will handle gamepad/joystick uninitialization without us having to do anything.

theofficialgman commented 6 months ago

yes that should be all you need to do