Commit 07af15e
test(replay): Return CompletedFuture from inlineExecutor to match ReplayExecutorService
inlineExecutor() returned null from submit, which under the executor's contract means
"rejected" — making capture()'s null-fallback finishFrame run on top of the mask
task's own finally, a double-release production never hits on the inline path. Return
CompletedFuture so the fixture matches the real inline semantics.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 52011c1 commit 07af15e
1 file changed
Lines changed: 5 additions & 1 deletion
File tree
- sentry-android-replay/src/test/java/io/sentry/android/replay/screenshot
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
90 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
91 | 95 | | |
92 | 96 | | |
93 | 97 | | |
| |||
0 commit comments