mirror of
https://github.com/element-hq/synapse.git
synced 2026-05-25 12:04:05 +00: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:
@@ -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,
|
||||
[],
|
||||
|
||||
Reference in New Issue
Block a user