Clear the remaining files when clearing up the filepool
This commit is contained in:
parent
6c70269fcc
commit
1e7d744460
1 changed files with 1 additions and 0 deletions
|
|
@ -156,6 +156,7 @@ void sfz::FilePool::garbageThread() noexcept
|
||||||
void sfz::FilePool::clear()
|
void sfz::FilePool::clear()
|
||||||
{
|
{
|
||||||
preloadedData.clear();
|
preloadedData.clear();
|
||||||
|
fileHandles.clear();
|
||||||
while (loadingQueue.pop()) {
|
while (loadingQueue.pop()) {
|
||||||
// Pop the queue
|
// Pop the queue
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue