[ios] Fixed warnings on implicit retain of 'self' within blocks.

This commit is contained in:
Ilya Grechuhin 2015-10-20 10:22:07 +03:00
parent 4fe44708e3
commit 58a82456b1

View file

@ -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;
}];
}
}