Skip to content

Commit 41dca58

Browse files
elizarovqwwdfsad
authored andcommitted
Proguard rule to keep volatile name of SafeContinuation
Fixes #1694
1 parent cbd5b1c commit 41dca58

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

kotlinx-coroutines-core/jvm/resources/META-INF/proguard/coroutines.pro

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,8 @@
88
-keepclassmembernames class kotlinx.** {
99
volatile <fields>;
1010
}
11+
12+
# Same story for the standard library's SafeContinuation that also uses AtomicReferenceFieldUpdater
13+
-keepclassmembernames class kotlin.coroutines.SafeContinuation {
14+
volatile <fields>;
15+
}

0 commit comments

Comments
 (0)