| 63 | } |
| 64 | |
| 65 | void FileTransferChannel::Exit() { |
| 66 | if (client_) { |
| 67 | client_->stop(); |
| 68 | } |
| 69 | sender_thread_->Exit(); |
| 70 | if (sender_thread_->IsJoinable()) { |
| 71 | sender_thread_->Join(); |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | bool FileTransferChannel::IsConnected() { |
| 76 | return client_ && client_->is_started(); |
nothing calls this directly
no outgoing calls
no test coverage detected