Skip to content

Commit

Permalink
fix: use concurrent hash map
Browse files Browse the repository at this point in the history
  • Loading branch information
arifBurakDemiray committed Oct 30, 2024
1 parent 405087f commit dd47e83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/src/main/java/ly/count/android/sdk/ModuleViews.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class ModuleViews extends ModuleBase implements ViewIdProvider {

Map<String, Object> automaticViewSegmentation = new HashMap<>();//automatic view segmentation

Map<String, ViewData> viewDataMap = new HashMap<>(); // map viewIDs to its viewData
final Map<String, ViewData> viewDataMap = new ConcurrentHashMap<>(); // map viewIDs to its viewData

SafeIDGenerator safeViewIDGenerator;

Expand Down

0 comments on commit dd47e83

Please sign in to comment.