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

close funct#4

Open
oxx wants to merge 31 commits intomicrosoftarchive:masterfrom
ikoroteev:master
Open

close funct#4
oxx wants to merge 31 commits intomicrosoftarchive:masterfrom
ikoroteev:master

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