diff --git a/packages/core/src/network/session-connection.ts b/packages/core/src/network/session-connection.ts index 881412c5..c23c4b3e 100644 --- a/packages/core/src/network/session-connection.ts +++ b/packages/core/src/network/session-connection.ts @@ -1308,8 +1308,8 @@ export class SessionConnection extends PersistentConnection { } if (this._queuedDestroySession.length) { - containerMessageCount += this._session.queuedCancelReq.length - containerSize += this._session.queuedCancelReq.length * 28 + containerMessageCount += this._queuedDestroySession.length + containerSize += this._queuedDestroySession.length * 28 destroySessions = this._queuedDestroySession this._queuedDestroySession = [] }