forked from organicmaps/organicmaps
[ios] Fixed warnings on implicit retain of 'self' within blocks.
This commit is contained in:
parent
4fe44708e3
commit
58a82456b1
1 changed files with 2 additions and 2 deletions
|
@ -230,8 +230,8 @@ void InitLocalizedStrings()
|
|||
if (m_activeDownloadsCounter)
|
||||
{
|
||||
m_backgroundTask = [application beginBackgroundTaskWithExpirationHandler:^{
|
||||
[application endBackgroundTask:m_backgroundTask];
|
||||
m_backgroundTask = UIBackgroundTaskInvalid;
|
||||
[application endBackgroundTask:self->m_backgroundTask];
|
||||
self->m_backgroundTask = UIBackgroundTaskInvalid;
|
||||
}];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue