Browse Source

Fix previous commit

tags/v1.9.11
falkTX 6 years ago
parent
commit
be4b588c15
1 changed files with 2 additions and 6 deletions
  1. +2
    -6
      source/utils/CarlaPipeUtils.cpp

+ 2
- 6
source/utils/CarlaPipeUtils.cpp View File

@@ -942,18 +942,14 @@ bool CarlaPipeCommon::flushMessages() const noexcept
// the only call that seems to do something
return ::syncfs(pData->pipeSend) == 0;
# endif
#elif defined(CARLA_OS_WIN)
#elif 0 // defined(CARLA_OS_WIN)
// FIXME causes issues
return true;

try {
return (::FlushFileBuffers(pData->pipeSend) != FALSE);
} CARLA_SAFE_EXCEPTION_RETURN("CarlaPipeCommon::writeMsgBuffer", false);
#else
// unsupported
return true;
#endif

return true;
}

// -------------------------------------------------------------------


Loading…
Cancel
Save