This repository was archived by the owner on Apr 18, 2026. It is now read-only.
Commit 9b4f52e
fix(ios): clear purchasePayloadById on MainActor to match access pattern
Move purchasePayloadById cleanup from listenerLock to MainActor
dispatch, since all other accesses to this collection run on
MainActor. This eliminates a potential data race between cleanup
(background thread) and MainActor writes.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 55f1e7b commit 9b4f52e
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1089 | 1089 | | |
1090 | 1090 | | |
1091 | 1091 | | |
1092 | | - | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
1093 | 1096 | | |
1094 | 1097 | | |
1095 | 1098 | | |
| |||
0 commit comments