UweTrottmann / SeriesGuide

Track your favorite TV shows and movies on Android devices.
https://seriesgui.de
Apache License 2.0
1.94k stars 400 forks source link

Migrate launchWhen and whenStateAtLeast Coroutine helpers #947

Closed UweTrottmann closed 9 months ago

UweTrottmann commented 9 months ago

The deprecated launchWhen and whenStateAtLeast APIs do suspend and not cancel a running block if state dropped below the initial guaranteed state. If the state is never reached again, this leaves the block suspended (and any resources in use) until the Lifecycle reaches the destroyed state.

github-actions[bot] commented 9 months ago

Test Results

27 tests  ±0   27 :heavy_check_mark: ±0   13s :stopwatch: +2s 12 suites ±0     0 :zzz: ±0  12 files   ±0     0 :x: ±0 

Results for commit eaef1b61. ± Comparison against base commit 71e2d8f1.

:recycle: This comment has been updated with latest results.