Restore the initial sleep time in the emptyFileLoadingQueues()

This commit is contained in:
Paul Fd 2020-03-11 15:06:14 +01:00
parent 976385976c
commit 57d9598ab3

View file

@ -411,7 +411,7 @@ void sfz::FilePool::emptyFileLoadingQueues() noexcept
{
emptyQueue = true;
while (emptyQueue)
std::this_thread::sleep_for(std::chrono::microseconds(100));
std::this_thread::sleep_for(std::chrono::milliseconds(1));
}
void sfz::FilePool::waitForBackgroundLoading() noexcept