Skip to content

Commit

Permalink
Don't complain on cleanup if OSC was not enabled
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Mar 10, 2019
1 parent 56740d8 commit 8d065dc
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions source/backend/engine/CarlaEngineOsc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,6 @@ void CarlaEngineOsc::idle() const noexcept

void CarlaEngineOsc::close() noexcept
{
CARLA_SAFE_ASSERT(fName.isNotEmpty());
CARLA_SAFE_ASSERT(fServerPathTCP.isNotEmpty());
CARLA_SAFE_ASSERT(fServerPathUDP.isNotEmpty());
CARLA_SAFE_ASSERT(fServerTCP != nullptr);
CARLA_SAFE_ASSERT(fServerUDP != nullptr);
carla_debug("CarlaEngineOsc::close()");

if (fControlDataTCP.target != nullptr)
Expand Down

0 comments on commit 8d065dc

Please sign in to comment.