Skip to content

Commit 7b2b5db

Browse files
committed
always clear the cached link, if there's another link coming in it takes priority anyway
1 parent 6b1270b commit 7b2b5db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/BranchSDK/Branch.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1935,9 +1935,9 @@ - (void)initUserSessionAndCallCallback:(BOOL)callCallback sceneIdentifier:(NSStr
19351935
} else {
19361936
if (!urlString && self.cachedURLString) {
19371937
urlString = self.cachedURLString;
1938-
self.cachedURLString = nil;
19391938
[[BranchLogger shared] logDebug:[NSString stringWithFormat:@"Using cached link: %@", urlString]];
19401939
}
1940+
self.cachedURLString = nil;
19411941
}
19421942
}
19431943

0 commit comments

Comments
 (0)