MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / onComPipeDataWrittenTo

Method onComPipeDataWrittenTo

CrashReporter/CallbacksManager.cpp:1315–1327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1313}
1314
1315void
1316CallbacksManager::onComPipeDataWrittenTo()
1317{
1318 QString str = QString::fromUtf8( _comPipeConnection->readLine() );
1319
1320 while ( str.endsWith( QLatin1Char('\n') ) ) {
1321 str.chop(1);
1322 }
1323 if ( str == QString::fromUtf8(NATRON_NATRON_TO_BREAKPAD_EXISTENCE_CHECK) ) {
1324 _comPipeConnection->write(NATRON_NATRON_TO_BREAKPAD_EXISTENCE_CHECK_ACK "\n");
1325 _comPipeConnection->flush();
1326 }
1327}
1328

Callers

nothing calls this directly

Calls 2

writeMethod · 0.45
flushMethod · 0.45

Tested by

no test coverage detected