From c595f6d25e9cda58f5327c5806e2c9a534c454f9 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 4 Feb 2016 12:37:00 -0500 Subject: Add an assertion to tor_libevent_get_base() Closes ticket 18241. --- changes/assert_event_base | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 changes/assert_event_base (limited to 'changes') diff --git a/changes/assert_event_base b/changes/assert_event_base new file mode 100644 index 0000000000..b887795518 --- /dev/null +++ b/changes/assert_event_base @@ -0,0 +1,5 @@ + o Minor features (robustness): + - Exit immediately with an error message if the code attempts to + use libevent without having initialized it. This should resolve + some frequently-made mistakes in our unit tests. Closes ticket + 18241. -- cgit v1.2.3-54-g00ecf