| 302 | } |
| 303 | |
| 304 | void ReplayManager::CloseThread() |
| 305 | { |
| 306 | m_Running = false; |
| 307 | m_FatalError = {}; |
| 308 | m_FatalError.code = ResultCode::Succeeded; |
| 309 | |
| 310 | m_RenderCondition.wakeAll(); |
| 311 | |
| 312 | if(m_Thread == NULL) |
| 313 | return; |
| 314 | |
| 315 | // wait for the thread to close and clean up |
| 316 | while(m_Thread->isRunning()) |
| 317 | { |
| 318 | } |
| 319 | |
| 320 | m_Thread->deleteLater(); |
| 321 | m_Thread = NULL; |
| 322 | } |
| 323 | |
| 324 | ResultDetails ReplayManager::ConnectToRemoteServer(RemoteHost host) |
| 325 | { |
no test coverage detected