mirror of
https://github.com/kataras/iris.git
synced 2026-01-10 13:35:59 +00:00
This commit is contained in:
@@ -173,4 +173,8 @@ func (s *Store) SetLastAccessedTime(lastacc time.Time) {
|
||||
func (s *Store) Destroy() {
|
||||
// remove the whole value which is the s.values from real redis
|
||||
redis.Delete(s.sid)
|
||||
for key := range s.values {
|
||||
delete(s.values, key)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user