[ios] Fixed cross mwm crash.

This commit is contained in:
VladiMihaylenko 2016-01-27 12:55:07 +03:00 committed by Sergey Yershov
parent ed5591f21a
commit 3cb4bfe531

View file

@ -682,9 +682,9 @@ NSString * const kAuthorizationSegue = @"Map2AuthorizationSegue";
case routing::IRouter::RouteNotFound:
{
[self.controlsManager handleRoutingError];
[self presentDownloaderAlert:code countries:absentCountries routes:absentRoutes block:^
[self presentDownloaderAlert:code countries:absentCountries routes:absentRoutes block:[=]
{
[self checkMigrationAndCallBlock:^
[self checkMigrationAndCallBlock:[=]
{
auto & a = GetFramework().GetCountryTree().GetActiveMapLayout();
for (auto const & index : absentCountries)