Clear the file index on refresh
This commit is contained in:
parent
6f8078af45
commit
336847ee7c
1 changed files with 2 additions and 0 deletions
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue