Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix #279805: Changing instrument in the mixer crashes the application
I don't know how it could work before. Keep MidiPatches list in the Zerberus class to be aligned with Fluid architecture. Sync load/delete soundfonts with patches list updates. Now, it should work as it is done in Fluid. Most probably I fixed a memory leak related to static QList of MidiPatch pointers created on demand and updated each call which led to dead pointers here and there and not clearing memory.
- Loading branch information
1 parent
0932122
commit b8cddb9
Showing
4 changed files
with
24 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters