Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Conversation

@stevesoltys
Copy link
Contributor

This avoids the memory leak / high CPU usage from an indefinite number of CADisplayLink being added to NSRunLoop.currentRunLoop.

It does this by removing the CADisplayLink from the loop when the UIView is offscreen (window is null).

@Alex009
Copy link
Member

Alex009 commented Jun 11, 2021

@stevesoltys thanks!
but current version of moko-widgets depends on bintray versions...i merge it, but can't publish

@Alex009 Alex009 added this to the 0.1.0-dev-21 milestone Jun 11, 2021
@Alex009 Alex009 merged commit b6c1fea into icerockdev:develop Jun 11, 2021
@stevesoltys stevesoltys deleted the bugfix/ios-performance branch June 11, 2021 19:21
@Alex009 Alex009 linked an issue Jul 15, 2021 that may be closed by this pull request
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants