| 472 | } |
| 473 | |
| 474 | TorController::~TorController() |
| 475 | { |
| 476 | if (reconnect_ev) { |
| 477 | event_free(reconnect_ev); |
| 478 | reconnect_ev = nullptr; |
| 479 | } |
| 480 | if (service.IsValid()) { |
| 481 | RemoveLocal(service); |
| 482 | } |
| 483 | } |
| 484 | |
| 485 | void TorController::add_onion_cb(TorControlConnection& _conn, const TorControlReply& reply) |
| 486 | { |
nothing calls this directly
no test coverage detected