mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-11-15 13:26:32 +00:00
Borrowed senders are not disconnected immediately, but after a while. If a borrow was used recently but the user requested the main client to disconnect, those borrows "shouldn't" disconnect because they were used recently. However, if the user requests a disconnect, they mean that EVERYTHING should be disconnected, even if the borrows are recent. This actually gets rid of warnings about send/recv tasks being destroyed, which partially addresses #1634. That issue may still have more causes though.