forked from organicmaps/organicmaps
Add ClearCaches() to index.
This commit is contained in:
parent
9ad3df3f6b
commit
a6197cba35
1 changed files with 5 additions and 0 deletions
|
@ -126,6 +126,11 @@ public:
|
|||
m_Indexes.clear();
|
||||
}
|
||||
|
||||
void ClearCaches()
|
||||
{
|
||||
for_each(m_Indexes.begin(), m_Indexes.end(), bind(&IndexProxy::Close, _1));
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
class IndexProxy
|
||||
|
|
Loading…
Add table
Reference in a new issue