Unset the timer in the timeout callback so that we don't try to cancel it if it has been called

pull/4/merge
Mark Haines 10 years ago
parent 6f9dea7483
commit 23d285ad57
  1. 1
      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.
listener.timer = None
listener.notify(
self,
[],

Loading…
Cancel
Save