mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-06-18 11:06:39 +00: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):
|
def _clear_all_pending(self):
|
||||||
for r in self._pending_receive.values():
|
for r in self._pending_receive.values():
|
||||||
r.confirm_received.set()
|
r.confirm_received.request.set()
|
||||||
self._pending_receive.clear()
|
self._pending_receive.clear()
|
||||||
|
|
||||||
def _handle_pong(self, msg_id, sequence, reader):
|
def _handle_pong(self, msg_id, sequence, reader):
|
||||||
|
Loading…
Reference in New Issue
Block a user