Tracker: make sure dynamic_cast succeeded
CID something or other I'll bet.
This commit is contained in:
@@ -344,8 +344,12 @@ BNavigator::SendNavigationMessage(NavigationAction action, BEntry* entry,
|
|||||||
// Todo: Change the locking behaviour of
|
// Todo: Change the locking behaviour of
|
||||||
// StandAloneTaskLoop::Run() and subsequently called
|
// StandAloneTaskLoop::Run() and subsequently called
|
||||||
// functions.
|
// functions.
|
||||||
if (nodeRef)
|
if (nodeRef != NULL) {
|
||||||
dynamic_cast<TTracker*>(be_app)->SelectChildInParentSoon(&ref, nodeRef);
|
TTracker* tracker = dynamic_cast<TTracker*>(be_app);
|
||||||
|
if (tracker != NULL)
|
||||||
|
tracker->SelectChildInParentSoon(&ref, nodeRef);
|
||||||
|
}
|
||||||
|
|
||||||
LockLooper();
|
LockLooper();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user