forked from organicmaps/organicmaps
Fixed cloud disabling
This commit is contained in:
parent
81ad9814ab
commit
cba514998f
1 changed files with 1 additions and 2 deletions
|
@ -435,8 +435,7 @@ void Cloud::SetState(State state)
|
|||
|
||||
case State::Disabled:
|
||||
// Delete index file and clear memory.
|
||||
my::DeleteFileX(m_params.m_indexName);
|
||||
m_files.clear();
|
||||
my::DeleteFileX(GetIndexFilePath(m_params.m_indexName));
|
||||
m_index = Index();
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue