Skip to content

Commit e721645

Browse files
committed
Revert "fix(android): @volatile on paused flag for cross-thread visibility"
This reverts commit be58ddb.
1 parent f381a1d commit e721645

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

android/src/new/java/com/rive/RiveReactNativeView.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class RiveReactNativeView(context: ThemedReactContext) : FrameLayout(context) {
7777
private var disposed = false
7878
private var lastFrameTimeNs = 0L
7979
private var frameCount = 0L
80-
@Volatile private var paused = false
80+
private var paused = false
8181

8282
private val textureView = TextureView(context).apply {
8383
layoutParams = LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT)

0 commit comments

Comments
 (0)