From 1e7d744460ec996365b2db06bae96f33465c348c Mon Sep 17 00:00:00 2001 From: paulfd Date: Tue, 17 Sep 2019 22:30:48 +0200 Subject: [PATCH] Clear the remaining files when clearing up the filepool --- sfizz/FilePool.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/sfizz/FilePool.cpp b/sfizz/FilePool.cpp index 918e01b3..41f4e8f4 100644 --- a/sfizz/FilePool.cpp +++ b/sfizz/FilePool.cpp @@ -156,6 +156,7 @@ void sfz::FilePool::garbageThread() noexcept void sfz::FilePool::clear() { preloadedData.clear(); + fileHandles.clear(); while (loadingQueue.pop()) { // Pop the queue }