Commit 09c00b6
authored
Handle failures in initialization of filtered-out async slice tracks (#143)
The initial bounds-change handling of an async slice track performs
multiple queries asynchronously, in sequence, awaiting the results of
each in turn. During one of those waits, a host application embedding
Perfetto can filter that track out so that it is no longer in the tracks
table in global state and then accessing that state to formulate the
next SQL query throws an exception. Trap that exception and bail the
initialization of the track controller.
For android-graphics/soktatoa#2949
Signed-off-by: Christian W. Damus <cdamus.ext@eclipsesource.com>1 parent c8f27f0 commit 09c00b6
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
365 | 376 | | |
366 | 377 | | |
367 | 378 | | |
| |||
0 commit comments