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-12-09 16:30:29 +00:00
2016-01-07 04:26:29 +00:00
2016-02-08 14:26:45 +00:00
2016-08-19 18:23:45 +01:00
2016-08-05 16:36:07 +01:00
2016-02-19 09:50:54 +00:00