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