0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-09 03:22:57 +01:00

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

This commit is contained in:
Mark Haines 2015-04-09 11:41:50 +01:00
parent 6f9dea7483
commit 23d285ad57

View file

@ -404,6 +404,7 @@ class Notifier(object):
def _timeout_listener(): def _timeout_listener():
# TODO (erikj): We should probably set to_token to the current # TODO (erikj): We should probably set to_token to the current
# max rather than reusing from_token. # max rather than reusing from_token.
listener.timer = None
listener.notify( listener.notify(
self, self,
[], [],