MCPcopy Create free account
hub / github.com/BernardoGiordano/Checkpoint / stopReceiver

Method stopReceiver

3ds/source/transfer.cpp:630–644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

628}
629
630void Transfer::stopReceiver(void)
631{
632 {
633 std::lock_guard<std::mutex> lock(g_receiverMutex);
634 if (!g_receiverRunning) {
635 return;
636 }
637 }
638 Server::unregisterHandler("/transfer/info");
639 Server::unregisterHandler("/transfer/upload");
640 {
641 std::lock_guard<std::mutex> lock(g_receiverMutex);
642 g_receiverRunning = false;
643 }
644}
645
646bool Transfer::receiverRunning(void)
647{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected