mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-17 11:24:23 -05: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:
parent
6f9dea7483
commit
23d285ad57
@ -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…
Reference in New Issue
Block a user