MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / Exit

Method Exit

src/client/transfer/file_transfer.cpp:65–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected