Bug with processingChain.removeProcessor(fx)
vustav opened this issue · 2 comments
vustav commented
I've managed to isolate the reason for a crash I've had for a while down to removal of effects from the processing chain. One feature in my app removes all effects from an instrument and adds a randomized number of new ones. I used to do this by looping through the array with the effects and removing them one by one from the processing chain, but sometimes one of them stayed anyway. Using reset() on the chain fixes this, but the strange behavoir when removing them one by one in a loop is obviuosly still there.
igorski commented
This has been addressed in fdab12a by using vector find-iterator based removal instead of looping.
vustav commented
Sorry for the late answer. Working now!