forked from organicmaps/organicmaps-tmp
[crash] [ios] Attempt to fix MWMTaxiCollectionView crash.
This commit is contained in:
parent
bb077b1680
commit
4a1d3f706d
1 changed files with 8 additions and 0 deletions
|
@ -86,6 +86,14 @@ using namespace uber;
|
|||
return self;
|
||||
}
|
||||
|
||||
- (void)dealloc
|
||||
{
|
||||
MWMTaxiCollectionView * cv = self.collectionView;
|
||||
cv.dataSource = nil;
|
||||
cv.delegate = nil;
|
||||
self.collectionView = nil;
|
||||
}
|
||||
|
||||
- (void)requestTaxiFrom:(MWMRoutePoint const &)from
|
||||
to:(MWMRoutePoint const &)to
|
||||
completion:(TMWMVoidBlock)completion
|
||||
|
|
Loading…
Add table
Reference in a new issue