mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Merge branch 'maint-0.4.2'
This commit is contained in:
@@ -153,6 +153,11 @@ periodic_event_disconnect(periodic_event_item_t *event)
|
||||
{
|
||||
if (!event)
|
||||
return;
|
||||
|
||||
/* First disable the event so we first cancel the event and set its enabled
|
||||
* flag properly. */
|
||||
periodic_event_disable(event);
|
||||
|
||||
mainloop_event_free(event->ev);
|
||||
event->last_action_time = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user