Browse Source
It looks like, TorController::disconnected_cb(TorControlConnection& conn) gets called multiple times which results in multiple event_new(). Avoid this by creating the event only once in the constructore, and deleting it only once in the destructor (thanks to Cory Fields for the idea). Replaces the fix by Jonas Schnelli in #7610, see discussion there.pull/4/head
Wladimir J. van der Laan
8 years ago
committed by
Jack Grigg
1 changed files with 9 additions and 4 deletions
Loading…
Reference in new issue