This reverts commit 3b91017682. This apparently is cleaning up more threads than expected, so this needs a rethink. Fixes #12986. Fixes https://github.com/libsdl-org/sdl2-compat/issues/486 Fixes https://github.com/libsdl-org/sdl2-compat/issues/482 (cherry picked from commit e1066ceea1)
3b91017682
e1066ceea1