File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ - (void)markStartOfBackgroundTaskIfNeeded
147147 if (_backgroundTaskIdentifier == UIBackgroundTaskInvalid) {
148148 __weak typeof (self) weakSelf = self;
149149 // Marks the beginning of a new long-running background task. We can run the timer in the background.
150- _backgroundTaskIdentifier = [[UIApplication sharedApplication ] beginBackgroundTaskWithExpirationHandler : ^{
150+ _backgroundTaskIdentifier = [[UIApplication sharedApplication ] beginBackgroundTaskWithName: @" rct.timing.gb.task " expirationHandler : ^{
151151 typeof (self) strongSelf = weakSelf;
152152 if (!strongSelf) {
153153 return ;
@@ -365,7 +365,7 @@ - (void)timerDidFire
365365 @synchronized (_timers) {
366366 _timers[callbackID] = timer;
367367 }
368-
368+
369369 if (_inBackground) {
370370 [self markStartOfBackgroundTaskIfNeeded ];
371371 [self scheduleSleepTimer: timer.target];
You can’t perform that action at this time.
0 commit comments