Closed maxgribov closed 2 years ago
I noticed that RiveExample does not clear the memory when you close the view with animations.
RiveExample
How to reproduce:
Touch Events!
I also did a quick profiling on leaks and found a huge amount of them:
It looks like leaks happen in RiveRuntime library.
RiveRuntime
fixed
How?
The memory leak was related to image handling in the cpp runtime. A fix was made there and that change was propagated out to iOS.
I noticed that
RiveExample
does not clear the memory when you close the view with animations.How to reproduce:
RiveExample
application (on the simulator or on the device)Touch Events!
screen several timesI also did a quick profiling on leaks and found a huge amount of them:
It looks like leaks happen in
RiveRuntime
library.