| 379 | } |
| 380 | |
| 381 | void ReplayManager::PingRemote() |
| 382 | { |
| 383 | if(!m_Remote) |
| 384 | return; |
| 385 | |
| 386 | if(m_RemoteLock.tryLock(0)) |
| 387 | { |
| 388 | if(!IsRunning() || m_Thread->isCurrentThread()) |
| 389 | { |
| 390 | if(!m_Remote->Ping().OK()) |
| 391 | m_RemoteHost.SetShutdown(); |
| 392 | } |
| 393 | m_RemoteLock.unlock(); |
| 394 | } |
| 395 | } |
| 396 | |
| 397 | void ReplayManager::ReopenCaptureFile(const QString &path) |
| 398 | { |
no test coverage detected