Skip to content

Commit ba8869c

Browse files
authored
[RC] Fix a concurrency crash (#14450)
1 parent 9b16e48 commit ba8869c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

FirebaseRemoteConfig/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Unreleased
2+
- [fixed] Mark internal `fetchSession` property as `atomic` to prevent a concurrency
3+
related crash. (#14449)
4+
15
# 11.8.0
26
- [fixed] Mark completion handlers as Sendable in RemoteConfig class.
37
Some completions handlers were missed in the 11.7.0 update. (#14257)

FirebaseRemoteConfig/Sources/Private/RCNConfigFetch.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ typedef void (^RCNConfigFetchCompletion)(FIRRemoteConfigFetchStatus status,
6767
- (void)recreateNetworkSession;
6868

6969
/// Provide fetchSession for tests to override.
70-
@property(nonatomic, readwrite, strong, nonnull) NSURLSession *fetchSession;
70+
@property(atomic, readwrite, strong, nonnull) NSURLSession *fetchSession;
7171

7272
/// Provide config template version number for Realtime config client.
7373
@property(nonatomic, copy, nonnull) NSString *templateVersionNumber;

0 commit comments

Comments
 (0)