fix: cleanup session

This commit is contained in:
qwqVictor 2024-05-04 15:35:39 +08:00
parent 63eb9b1bb6
commit f2a518cff2

View File

@ -61,7 +61,7 @@ class SessionPool {
for (const [key, session] of this.sessions) {
if (session.expiration <= now) {
this.sessions.delete(key);
session.off(session)
session.off(session.value)
}
}
}