Skip to content

Commit e70280d

Browse files
authored
Merge pull request #443 from BranchMetrics/clear-timer-on-active
Clear timer on activation
2 parents 96a4e62 + 07de570 commit e70280d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Branch-SDK/Branch-SDK/Branch.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1094,6 +1094,7 @@ - (void)registerViewWithParams:(NSDictionary *)params andCallback:(callbackWithP
10941094
#pragma mark - Application State Change methods
10951095

10961096
- (void)applicationDidBecomeActive {
1097+
[self clearTimer];
10971098
if (!self.isInitialized && !self.preferenceHelper.shouldWaitForInit && ![self.requestQueue containsInstallOrOpen]) {
10981099
[self initUserSessionAndCallCallback:YES];
10991100
}

0 commit comments

Comments
 (0)