Skip to content

Commit 9e254af

Browse files
Fix the mistaken deletion in cache (#241)
Merging the change.
1 parent b18269c commit 9e254af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Leanplum-SDK/Classes/Features/Variables/LPVarCache.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,7 @@ - (void)applyVariableDiffs:(NSDictionary *)diffs_
488488
if (messages_) {
489489
// Store messages.
490490
self.messageDiffs = messages_;
491+
self.messages = [NSMutableDictionary dictionary];
491492
for (NSString *name in messages_) {
492493
NSDictionary *messageConfig = messages_[name];
493494
NSMutableDictionary *newConfig = [messageConfig mutableCopy];

0 commit comments

Comments
 (0)