From 1e0cf33eba692f2507cec345c8b918609f56c084 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Thu, 15 Jul 2021 16:01:47 +0200 Subject: [PATCH] Use a recursive mutex for the Melda deadlock fix This seems safer with the whole mutual recursion thing. --- src/wine-host/bridges/vst3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wine-host/bridges/vst3.h b/src/wine-host/bridges/vst3.h index 5c5a4b71..233a6694 100644 --- a/src/wine-host/bridges/vst3.h +++ b/src/wine-host/bridges/vst3.h @@ -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