Skip to content
Permalink
Browse files
Fix ._clear_all_pending failing due to a wrong call (#352)
  • Loading branch information
andr-04 authored and Lonami committed Oct 18, 2017
1 parent 87dc476 commit 16cf94c9add5e94d70c4eee2ac142d8e76af48b9
Showing with 1 addition and 1 deletion.
  1. +1 −1 telethon/network/mtproto_sender.py
@@ -270,7 +270,7 @@ def _pop_request_of_type(self, msg_id, t):

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):

0 comments on commit 16cf94c

Please sign in to comment.