Respond to CR.

// FREEBIE
pull/1/head
Matthew Chen 8 years ago
parent fa7a2407bf
commit ef4b1cf477

@ -160,6 +160,8 @@ const int kOWSAnalytics_DiscardFrequency = 0;
__block UIBackgroundTaskIdentifier task; __block UIBackgroundTaskIdentifier task;
task = [UIApplication.sharedApplication beginBackgroundTaskWithExpirationHandler:^{ task = [UIApplication.sharedApplication beginBackgroundTaskWithExpirationHandler:^{
self.hasRequestInFlight = NO;
[UIApplication.sharedApplication endBackgroundTask:task]; [UIApplication.sharedApplication endBackgroundTask:task];
}]; }];

Loading…
Cancel
Save