-
Nils Goroll authored
tus_file_shutdown() deletes all files. This could interfere with the exp thread if it expired a file at the same time. Solve this race by first stopping the exp thread, then deleting all files and then running final checks that exp is actually cleaned up.