mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-04-04 01:04:16 +03:00
Fix ._clear_all_pending failing due to a wrong call (#352)
This commit is contained in:
parent
87dc476dae
commit
16cf94c9ad
|
@ -270,7 +270,7 @@ class MtProtoSender:
|
|||
|
||||
def _clear_all_pending(self):
|
||||
for r in self._pending_receive.values():
|
||||
r.confirm_received.set()
|
||||
r.confirm_received.request.set()
|
||||
self._pending_receive.clear()
|
||||
|
||||
def _handle_pong(self, msg_id, sequence, reader):
|
||||
|
|
Loading…
Reference in New Issue
Block a user