diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-04-09 11:42:21 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-04-09 11:42:21 +0100 |
commit | 1280a47fc671b718239e06030d469d99aa5ea513 (patch) | |
tree | 41e8164484f5be087b9ae11583c103ac60e1cb64 | |
parent | Unset the timer in the timeout callback so that we don't try to cancel it if ... (diff) | |
download | synapse-1280a47fc671b718239e06030d469d99aa5ea513.tar.xz |
Add comment
-rw-r--r-- | synapse/notifier.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/notifier.py b/synapse/notifier.py index e6f37c3736..d750a6fcf7 100644 --- a/synapse/notifier.py +++ b/synapse/notifier.py @@ -404,6 +404,7 @@ class Notifier(object): def _timeout_listener(): # TODO (erikj): We should probably set to_token to the current # max rather than reusing from_token. + # Remove the timer from the listener so we don't try to cancel it. listener.timer = None listener.notify( self, |