diff options
author | Richard van der Hoff <richard@matrix.org> | 2017-03-17 20:56:54 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2017-03-18 00:07:43 +0000 |
commit | f40c2db05ae5e76428c97f1e194fe7d843913054 (patch) | |
tree | 39eb9fd6de50eb4493e336c93c1237a7ba31cd88 /demo/webserver.py | |
parent | Run the reactor with the sentinel logcontext (diff) | |
download | synapse-f40c2db05ae5e76428c97f1e194fe7d843913054.tar.xz |
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.
Diffstat (limited to 'demo/webserver.py')
0 files changed, 0 insertions, 0 deletions