Skip to content

Commit

Permalink
Merge pull request #108 from superwall/develop
Browse files Browse the repository at this point in the history
1.1.5
  • Loading branch information
yusuftor authored May 10, 2024
2 parents a934038 + bebc7c9 commit dcb693b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

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

## 1.1.4
## 1.1.5

### Fixes

- Fixes thread safety crash when multiple threads attempted to initialize the `JavaScriptSandbox`
internally.
- Fixes thread safety crash when multiple threads attempted to initialize the `JavaScriptSandbox`
internally.

## 1.1.3

Expand Down
2 changes: 1 addition & 1 deletion superwall/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ plugins {
id("signing")
}

version = "1.1.4"
version = "1.1.5"

android {
compileSdk = 33
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,11 @@ class ExpressionEvaluator(
private val storage: Storage,
private val factory: RuleAttributesFactory
): ExpressionEvaluating {
private val singleThreadContext = newSingleThreadContext(name = "ExpressionEvaluator")
private val mutex = Mutex()

companion object {
private var jsSandbox: JavaScriptSandbox? = null
private var sharedWebView: WebView? = null
private val singleThreadContext = newSingleThreadContext(name = "ExpressionEvaluator")
private val mutex = Mutex()
}

init {
Expand Down

0 comments on commit dcb693b

Please sign in to comment.