forked from organicmaps/organicmaps
Fix AV on exit.
This commit is contained in:
parent
49f47d2296
commit
2a0ee15fca
1 changed files with 2 additions and 1 deletions
|
@ -636,7 +636,8 @@ void FrameWork<TModel>::AddRedrawCommandSure()
|
|||
template <typename TModel>
|
||||
void FrameWork<TModel>::PrepareToShutdown()
|
||||
{
|
||||
m_pSearchEngine->StopEverything();
|
||||
if (m_pSearchEngine)
|
||||
m_pSearchEngine->StopEverything();
|
||||
}
|
||||
|
||||
template <typename TModel>
|
||||
|
|
Loading…
Add table
Reference in a new issue