| 328 | } |
| 329 | |
| 330 | TorController::~TorController() |
| 331 | { |
| 332 | if (reconnect_ev) { |
| 333 | event_free(reconnect_ev); |
| 334 | reconnect_ev = nullptr; |
| 335 | } |
| 336 | if (service.IsValid()) { |
| 337 | RemoveLocal(service); |
| 338 | } |
| 339 | } |
| 340 | |
| 341 | void TorController::add_onion_cb(TorControlConnection& _conn, const TorControlReply& reply) |
| 342 | { |
nothing calls this directly
no test coverage detected