Richard van der Hoff f40c2db05a Stop preserve_fn leaking context into the reactor
Fix a bug in ``logcontext.preserve_fn`` which made it leak context into the
reactor, and add a test for it.

Also, get rid of ``logcontext.reset_context_after_deferred``, which tried to do
the same thing but had its own, different, set of bugs.
2017-03-18 00:07:43 +00:00
..
2016-02-19 15:34:38 +00:00
2017-01-16 15:33:34 +00:00
2016-04-07 14:19:02 +01:00
2017-01-17 11:50:18 +00:00
2016-07-05 15:23:17 +01:00
2016-02-17 14:29:28 +00:00