fix: cleanup session
This commit is contained in:
parent
63eb9b1bb6
commit
f2a518cff2
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user