From b9737d3838d18de1b70422744ebbb616e5f27ce8 Mon Sep 17 00:00:00 2001 From: falkTX Date: Thu, 6 Feb 2014 11:51:57 +0000 Subject: [PATCH] Misc --- source/backend/plugin/JucePlugin.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/backend/plugin/JucePlugin.cpp b/source/backend/plugin/JucePlugin.cpp index 9a15f8daf..dde83f4b9 100644 --- a/source/backend/plugin/JucePlugin.cpp +++ b/source/backend/plugin/JucePlugin.cpp @@ -226,6 +226,10 @@ public: { CARLA_SAFE_ASSERT_RETURN(fInstance != nullptr,); +#ifdef CARLA_OS_LINUX + const MessageManagerLock mmLock; +#endif + if (yesNo) { if (fWindow == nullptr) @@ -676,6 +680,10 @@ public: return false; } +#ifdef CARLA_OS_LINUX + const MessageManagerLock mmLock; +#endif + // --------------------------------------------------------------- // fix path for wine usage