Use a recursive mutex for the Melda deadlock fix

This seems safer with the whole mutual recursion thing.
This commit is contained in:
Robbert van der Helm
2021-07-15 16:01:47 +02:00
parent 5f7fb2e2c3
commit 1e0cf33eba
+1 -1
View File
@@ -227,7 +227,7 @@ struct Vst3PluginInstance {
* browser), but it seems like a good idea to make sure that this
* doesn't cause any freezes.
*/
std::mutex get_size_mutex;
std::recursive_mutex get_size_mutex;
/**
* This contains smart pointers to all VST3 plugin interfaces that can be