| 412 | |
| 413 | |
| 414 | void CRefReadStreamProxy::OnFinishRead(unsigned nError) |
| 415 | { |
| 416 | // [marco] commented out, according to sergiy this is harmless |
| 417 | //assert (!m_bFinished && !m_bError); |
| 418 | if (!nError) |
| 419 | m_bFinished = true; |
| 420 | else |
| 421 | m_bError = true; |
| 422 | |
| 423 | m_nIOError = nError; |
| 424 | m_pStream->OnIOExecuted(this); |
| 425 | } |
| 426 | |
| 427 | // this returns true after the main IO job has been executed (either in worker or in main thread) |
| 428 | bool CRefReadStreamProxy::IsIOExecuted() |
no test coverage detected