Function SDL_CleanupTLS
pub unsafe extern "C" fn SDL_CleanupTLS()
Available on crate feature
dep_sdl3
only.Expand description
Cleanup all TLS data for this thread.
If you are creating your threads outside of SDL and then calling SDL functions, you should call this function before your thread exits, to properly clean up SDL memory.
§Thread safety
It is safe to call this function from any thread.
§Availability
This function is available since SDL 3.2.0.