Skip to content
This repository was archived by the owner on Feb 20, 2021. It is now read-only.

Conversation

@oxx
Copy link

@oxx oxx commented Jun 18, 2015

func (cache *Cache) close() {
cache.mutex.Lock()
for key, item := range cache.items {
delete(cache.items, key)
}
}
cache.mutex.Unlock()
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants