Clear the file index on refresh

This commit is contained in:
Jean Pierre Cimalando 2020-10-30 06:24:42 +01:00
parent 6f8078af45
commit 336847ee7c

View file

@ -57,6 +57,8 @@ void SfzFileScan::refreshScan(bool force)
if (!force && !isExpired())
return;
file_index_.clear();
for (const fs::path& dirPath : SfizzPaths::sfzDefaultPaths()) {
std::error_code ec;
const fs::directory_options dirOpts =