MCPcopy Create free account
hub / github.com/ElementsProject/elements / InterruptTorControl

Function InterruptTorControl

src/torcontrol.cpp:633–641  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

631}
632
633void InterruptTorControl()
634{
635 if (gBase) {
636 LogPrintf("tor: Thread interrupt\n");
637 event_base_once(gBase, -1, EV_TIMEOUT, [](evutil_socket_t, short, void*) {
638 event_base_loopbreak(gBase);
639 }, nullptr, nullptr);
640 }
641}
642
643void StopTorControl()
644{

Callers 1

InterruptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected