Browse Source

Fix previous commit

tags/1.9.7
falkTX 7 years ago
parent
commit
ac58c21cba
2 changed files with 4 additions and 1 deletions
  1. +1
    -1
      source/backend/CarlaStandalone.cpp
  2. +3
    -0
      source/utils/CarlaPipeUtils.cpp

+ 1
- 1
source/backend/CarlaStandalone.cpp View File

@@ -320,7 +320,7 @@ bool carla_engine_init(const char* driverName, const char* clientName)
{
#ifndef BUILD_BRIDGE
juce::initialiseJuce_GUI();
if (std::getenv("CARLA_LOGS_DISABLED") != nullptr)
if (std::getenv("CARLA_LOGS_DISABLED") == nullptr)
gStandalone.logThread.init();
#endif
gStandalone.lastError = "No error";


+ 3
- 0
source/utils/CarlaPipeUtils.cpp View File

@@ -767,6 +767,9 @@ bool CarlaPipeCommon::flushMessages() const noexcept
try {
return (::FlushFileBuffers(pData->pipeSend) != FALSE);
} CARLA_SAFE_EXCEPTION_RETURN("CarlaPipeCommon::writeMsgBuffer", false);
#else
// nothing to do
return true;
#endif
}



Loading…
Cancel
Save