Merge pull request #1170 from essej/filepool-copy-fix
Crash fix for reloading SFZ : needed to copy preloadCallCount in FilePool copy constructors
This commit is contained in:
commit
28c3b10c17
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