forked from organicmaps/organicmaps
[android] Fixed crash on MWM start with API invoke.
This commit is contained in:
parent
082ac10d57
commit
4cd7d871b4
1 changed files with 3 additions and 1 deletions
|
@ -366,5 +366,7 @@ void PinClickManager::OnAdditonalLayer(size_t index)
|
|||
|
||||
void PinClickManager::OnDismiss()
|
||||
{
|
||||
m_dismissListener();
|
||||
// Can be called before the listeners will be attached (clearing on activity start).
|
||||
if (m_dismissListener)
|
||||
m_dismissListener();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue