mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-02-26 16:30:44 +03:00
Stop joining read thread on disconnect, as it may be None
This commit is contained in:
parent
b11c2e885b
commit
f8745155ac
|
@ -260,10 +260,6 @@ class TelegramBareClient:
|
|||
__log__.debug('Disconnecting the socket...')
|
||||
self._sender.disconnect()
|
||||
|
||||
if self._recv_thread:
|
||||
__log__.debug('Joining the read thread...')
|
||||
self._recv_thread.join()
|
||||
|
||||
# TODO Shall we clear the _exported_sessions, or may be reused?
|
||||
pass
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user