summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-01-27 16:00:07 +0000
committerDavid Baker <dave@matrix.org>2015-01-27 16:00:07 +0000
commiteba89f093f0376b8499953b53bbd85f9b12b7852 (patch)
tree01e0421708dcf6b67cc757da56a4d0603d3f4474 /synapse
parentUnbreak bad presence merge - don't add these blocks together with an and: the... (diff)
downloadsynapse-eba89f093f0376b8499953b53bbd85f9b12b7852.tar.xz
Need a defer.inlineCallbacks here as we yield in it: otherwise nothing in the cb gets executed.
Diffstat (limited to '')
-rw-r--r--synapse/handlers/events.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/handlers/events.py b/synapse/handlers/events.py
index f1a3e4a4ad..851eebf600 100644
--- a/synapse/handlers/events.py
+++ b/synapse/handlers/events.py
@@ -99,6 +99,7 @@ class EventStreamHandler(BaseHandler):
 
                     # 10 seconds of grace to allow the client to reconnect again
                     #   before we think they're gone
+                    @defer.inlineCallbacks
                     def _later():
                         logger.debug(
                             "_later stopped_user_eventstream %s", auth_user