Skip to content

Conversation

dreampiggy
Copy link
Collaborator

This consume CPU because CADisplayLink is still running in the background

Solution

Using the ZStack as a container to distinguish the container disappear vs frame disapppear

See: https://twitter.com/unixzii/status/1573281351939530752

Demo

Pay attention to the CPU usage (compared to previous v2.2.0 behavior)

demo.mov.zip

…t out of screen This consume CPU because CADisplayLink is still running in the background
@dreampiggy dreampiggy added webimage WebImage struct performance labels Sep 23, 2022
@dreampiggy dreampiggy merged commit c60b04b into master Sep 23, 2022
@dreampiggy dreampiggy deleted the bugfix_webimage_no_stop_playing_quick_scroll branch September 2, 2023 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 participant