rorywalsh / cabbage

Framework for developing audio plugins with the Csound programming language.
http://cabbageaudio.com
GNU General Public License v3.0
503 stars 35 forks source link

Guard cabbage widget data read with scoped lock #149

Closed docEdub closed 2 months ago

docEdub commented 2 months ago

CabbagePluginProcessor::getIdentifierDataFromCsound() is not locking the data array before reading and clearing it. This causes hanging and crashes, especially when rendering in Reaper with 20+ Cabbage plugins running.

This change fixes the issue by adding the missing lock in CabbagePluginProcessor::getIdentifierDataFromCsound().