fix(core): destroy_session requests not being sent

i am actually retarded
This commit is contained in:
teidesu 2022-11-06 21:53:35 +03:00 committed by Alina Sireneva
parent 6eed69ad02
commit 27d3058408
Signed by: teidesu
SSH key fingerprint: SHA256:uNeCpw6aTSU4aIObXLvHfLkDa82HWH9EiOj9AXOIRpI

View file

@ -1308,8 +1308,8 @@ export class SessionConnection extends PersistentConnection {
} }
if (this._queuedDestroySession.length) { if (this._queuedDestroySession.length) {
containerMessageCount += this._session.queuedCancelReq.length containerMessageCount += this._queuedDestroySession.length
containerSize += this._session.queuedCancelReq.length * 28 containerSize += this._queuedDestroySession.length * 28
destroySessions = this._queuedDestroySession destroySessions = this._queuedDestroySession
this._queuedDestroySession = [] this._queuedDestroySession = []
} }