Commit 345efdcb10725681a09b2de59af31bff0368487e

Sam Lantinga 2022-06-03T08:46:08

Wait for all the threads to actually finish before exiting Fixes https://github.com/libsdl-org/SDL/issues/5748