copy preloadCallCount in FilePool copy constructors. this was critical to avoid crashing behavior when the SFZ is reloaded.
This commit is contained in:
parent
f407ea8d64
commit
ad236085fa
1 changed files with 2 additions and 0 deletions
|
|
@ -90,6 +90,7 @@ struct FileData
|
|||
information = std::move(other.information);
|
||||
preloadedData = std::move(other.preloadedData);
|
||||
fileData = std::move(other.fileData);
|
||||
preloadCallCount = other.preloadCallCount;
|
||||
availableFrames = other.availableFrames.load();
|
||||
lastViewerLeftAt = other.lastViewerLeftAt;
|
||||
status = other.status.load();
|
||||
|
|
@ -100,6 +101,7 @@ struct FileData
|
|||
information = std::move(other.information);
|
||||
preloadedData = std::move(other.preloadedData);
|
||||
fileData = std::move(other.fileData);
|
||||
preloadCallCount = other.preloadCallCount;
|
||||
availableFrames = other.availableFrames.load();
|
||||
lastViewerLeftAt = other.lastViewerLeftAt;
|
||||
status = other.status.load();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue