fix(core): incomplete session reset

This commit is contained in:
alina 🌸 2023-12-20 14:00:29 +03:00
parent 81eb664fec
commit 7e0f172aa8
Signed by: teidesu
SSH key fingerprint: SHA256:uNeCpw6aTSU4aIObXLvHfLkDa82HWH9EiOj9AXOIRpI

View file

@ -206,8 +206,10 @@ export class MtprotoSession {
this.queuedAcks.length = 0
this.queuedStateReq.length = 0
this.queuedResendReq.length = 0
this.queuedCancelReq.length = 0
this.getStateSchedule.clear()
this.chains.clear()
this.chainsPendingFails.clear()
}
enqueueRpc(rpc: PendingRpc, force?: boolean): boolean {