Commit 36ab7db
committed
refactor(ios): hoist MMKV read out of bridgeStateQueue in getLastVoipToken
Keep disk I/O outside the critical section so a slow MMKV read cannot
block main-thread token updates. Second sync re-checks lastVoipToken
to handle concurrent reloaders.1 parent d320e19 commit 36ab7db
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | | - | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
233 | 238 | | |
234 | | - | |
| 239 | + | |
235 | 240 | | |
236 | 241 | | |
237 | 242 | | |
| |||
0 commit comments