From d166d18643197c57ba98d3a476df26c605554b26 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 19 Nov 2010 22:52:32 -0500 Subject: Better fix for 2190: defer libevent->controller messages instead of dropping --- src/or/main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/or/main.c') diff --git a/src/or/main.c b/src/or/main.c index 9bdbbc17a..e13215bd2 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -893,6 +893,9 @@ run_scheduled_events(time_t now) signewnym_impl(now); } + /* 0c. If we've deferred log messages for the controller, handle them now */ + flush_pending_log_callbacks(); + /** 1a. Every MIN_ONION_KEY_LIFETIME seconds, rotate the onion keys, * shut down and restart all cpuworkers, and update the directory if * necessary. -- cgit v1.2.3