Corrected a bug where ref to freed memory was kept
When changing instrument the unknown opcodes should be clear as they are string views and not strings.
This commit is contained in:
parent
6c2f5b5ecb
commit
393984e3f3
1 changed files with 1 additions and 0 deletions
|
|
@ -142,6 +142,7 @@ void sfz::Synth::clear()
|
|||
globalOpcodes.clear();
|
||||
masterOpcodes.clear();
|
||||
groupOpcodes.clear();
|
||||
unknownOpcodes.clear();
|
||||
}
|
||||
|
||||
void sfz::Synth::handleGlobalOpcodes(const std::vector<Opcode>& members)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue