Skip to content

Commit 3205fb4

Browse files
KKQ-KKQpaulfd
authored andcommitted
Fixed a error in garbage collection
1 parent b6ba834 commit 3205fb4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/sfizz/FilePool.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -699,6 +699,7 @@ void sfz::FilePool::triggerGarbageCollection() noexcept
699699
if (readerCount == 0) {
700700
data.availableFrames = 0;
701701
garbageToCollect.push_back(std::move(data.fileData));
702+
data.status = FileData::Status::Preloaded;
702703
return true;
703704
}
704705
data.status = status;

0 commit comments

Comments
 (0)