зеркало из https://github.com/nextcloud/talk-ios.git
Don't cleanup the background task in the expiration handler (yet)
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
This commit is contained in:
Родитель
2f8ae67d2d
Коммит
8d6f1438f2
|
@ -366,10 +366,12 @@
|
|||
BGTaskHelper *bgTask = [BGTaskHelper startBackgroundTaskWithName:@"NCBackgroundFetch" expirationHandler:^(BGTaskHelper *task) {
|
||||
[NCUtils log:@"ExpirationHandler called"];
|
||||
|
||||
/*
|
||||
expired = YES;
|
||||
completionHandler(YES);
|
||||
|
||||
[task stopBackgroundTask];
|
||||
*/
|
||||
}];
|
||||
|
||||
[NCUtils log:@"Start performBackgroundFetchWithCompletionHandler"];
|
||||
|
|
Загрузка…
Ссылка в новой задаче