Commit 69ddc06
Fix FAIL_PAUSE_OPREPO hanging enqueueAndWait callers
When an operation execution returns FAIL_PAUSE_OPREPO, the repo is
paused and the ops are re-queued with their original waiters still
attached. enqueueAndWait callers (loginSuspend) would suspend on
the waiter forever — the op stays in the queue but never executes
while paused, and the waiter is never woken.
Wake the waiter with false and re-queue with waiter=null, matching
the pattern from #2600.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent e1a8417 commit 69ddc06
1 file changed
Lines changed: 8 additions & 2 deletions
File tree
- OneSignalSDK/onesignal/core/src/main/java/com/onesignal/core/internal/operations/impl
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
336 | | - | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
337 | 341 | | |
338 | | - | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
339 | 345 | | |
340 | 346 | | |
341 | 347 | | |
| |||
0 commit comments