mirror of
https://github.com/danog/telegram-tt.git
synced 2025-01-22 05:11:55 +01:00
Follow-up
This commit is contained in:
parent
73d2bc0696
commit
153607e3df
@ -313,6 +313,8 @@ class TelegramClient {
|
||||
this._borrowedSenderReleaseTimeouts[dcId] = undefined;
|
||||
this._borrowedSenderPromises[dcId] = undefined;
|
||||
|
||||
// eslint-disable-next-line no-console
|
||||
console.warn(`Disconnecting from file socket #${dcId}...`);
|
||||
sender.disconnect();
|
||||
}, BORROWED_SENDER_RELEASE_TIMEOUT);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user