Erase from the correct structure
This commit is contained in:
parent
ec439d2034
commit
9cf7b0b076
1 changed files with 1 additions and 1 deletions
|
|
@ -358,7 +358,7 @@ void sfz::FilePool::removeUnusedPreloadedData() noexcept
|
|||
auto copyIt = it++;
|
||||
if (copyIt->second.preloadCallCount == 0) {
|
||||
DBG("[sfizz] Removing unused loaded data: " << copyIt->first.filename());
|
||||
preloadedFiles.erase(copyIt);
|
||||
loadedFiles.erase(copyIt);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue