Commit 76dd958
committed
Add @volatile to _jwtInvalidatedHandler for JMM visibility
The field is written from the main thread in
IdentityVerificationService.start() and read on the OperationRepo
coroutine thread. @volatile guarantees cross-thread visibility.
Made-with: Cursor1 parent e993fc0 commit 76dd958
1 file changed
Lines changed: 1 addition & 0 deletions
File tree
- OneSignalSDK/onesignal/core/src/main/java/com/onesignal/core/internal/operations/impl
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
0 commit comments