Skip to content

Commit 0deb5cd

Browse files
committed
Replace compute with getOrPut, changelog
1 parent dc76ab0 commit 0deb5cd

3 files changed

Lines changed: 11 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
The changelog for `Superwall`. Also see the [releases](https://github.com/superwall/Superwall-Android/releases) on GitHub.
44

5+
## 2.7.6
6+
7+
## Fixes
8+
- Fix concurrency issue with early paywall displays and product loading
9+
- Improve edge case handling in billing
10+
- Improve paywall timeout cases and failAt stamping
11+
- Fix issue with param templating in re-presentation
12+
- Fix race issue with test mode
13+
514
## 2.7.5
615

716
## Enhancements

superwall/src/main/java/com/superwall/sdk/store/StoreManager.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ class StoreManager(
138138

139139
for (id in fullProductIds) {
140140
val state =
141-
productsByFullId.computeIfAbsent(id) {
141+
productsByFullId.getOrPut(id) {
142142
val deferred = CompletableDeferred<StoreProduct>()
143143
newDeferreds[id] = deferred
144144
ProductState.Loading(deferred)

version.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
SUPERWALL_VERSION=2.7.5
1+
SUPERWALL_VERSION=2.7.6

0 commit comments

Comments
 (0)