summary refs log tree commit diff
path: root/demo/webserver.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2017-03-17 20:56:54 +0000
committerRichard van der Hoff <richard@matrix.org>2017-03-18 00:07:43 +0000
commitf40c2db05ae5e76428c97f1e194fe7d843913054 (patch)
tree39eb9fd6de50eb4493e336c93c1237a7ba31cd88 /demo/webserver.py
parentRun the reactor with the sentinel logcontext (diff)
downloadsynapse-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