mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Merge remote-tracking branch 'public/bug25981'
This commit is contained in:
commit
75e5b778e1
@ -1672,6 +1672,11 @@ static mainloop_event_t *postloop_cleanup_ev=NULL;
|
||||
void
|
||||
mainloop_schedule_postloop_cleanup(void)
|
||||
{
|
||||
if (PREDICT_UNLIKELY(postloop_cleanup_ev == NULL)) {
|
||||
// (It's possible that we can get here if we decide to close a connection
|
||||
// in the earliest stages of our configuration, before we create events.)
|
||||
return;
|
||||
}
|
||||
mainloop_event_activate(postloop_cleanup_ev);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user