Skip to content

Commit

Permalink
Merge pull request #1031 from paulfd/loaded-files-bug
Browse files Browse the repository at this point in the history
Erase from the correct structure
  • Loading branch information
paulfd authored Nov 19, 2021
2 parents ec439d2 + 9cf7b0b commit fbc0e74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sfizz/FilePool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}
Expand Down

0 comments on commit fbc0e74

Please sign in to comment.