From 7f9b5da47fbe8a5848c133f240d9638abb618247 Mon Sep 17 00:00:00 2001 From: falkTX Date: Wed, 17 Sep 2014 00:32:28 +0100 Subject: [PATCH] Misc --- source/backend/engine/CarlaEngineNative.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/backend/engine/CarlaEngineNative.cpp b/source/backend/engine/CarlaEngineNative.cpp index 959091167..80649461e 100644 --- a/source/backend/engine/CarlaEngineNative.cpp +++ b/source/backend/engine/CarlaEngineNative.cpp @@ -845,8 +845,10 @@ protected: void uiServerCallback(const EngineCallbackOpcode action, const uint pluginId, const int value1, const int value2, const float value3, const char* const valueStr) { - CARLA_SAFE_ASSERT_RETURN(fIsRunning,); - CARLA_SAFE_ASSERT_RETURN(fUiServer.isOk(),); + if (! fIsRunning) + return; + if (! fUiServer.isOk()) + return; CarlaPlugin* plugin;