The dispatcher was not spinning
This commit is contained in:
parent
8ee4105b39
commit
e693e82a39
1 changed files with 1 additions and 1 deletions
|
|
@ -374,7 +374,7 @@ void sfz::FilePool::loadingJob(QueuedFileData data) noexcept
|
|||
FileData::Status currentStatus = data.data->status.load();
|
||||
|
||||
unsigned spinCounter { 0 };
|
||||
if (currentStatus == FileData::Status::Invalid) {
|
||||
while (currentStatus == FileData::Status::Invalid) {
|
||||
// Spin until the state changes
|
||||
if (spinCounter > 1024) {
|
||||
DBG("[sfizz] " << data.id << " is stuck on Invalid? Leaving the load");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue