From 4cdc7f947903ddabe8ac95ed0c5a8e6aaf6b37d5 Mon Sep 17 00:00:00 2001 From: falkTX Date: Mon, 13 Apr 2020 08:12:01 +0100 Subject: [PATCH] Only standalone should call carla_engine_idle Signed-off-by: falkTX --- source/backend/CarlaStandalone.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/backend/CarlaStandalone.cpp b/source/backend/CarlaStandalone.cpp index 0fae4c10b..8c40e4967 100644 --- a/source/backend/CarlaStandalone.cpp +++ b/source/backend/CarlaStandalone.cpp @@ -458,7 +458,7 @@ bool carla_engine_close(CarlaHostHandle handle) void carla_engine_idle(CarlaHostHandle handle) { - CARLA_SAFE_ASSERT_RETURN(handle->engine != nullptr,); + CARLA_SAFE_ASSERT_RETURN(handle->engine != nullptr && handle->isStandalone,); handle->engine->idle();