Hi,
We have an issue with spine player runtime taking more and more CPU usage until it crashes our web app.
We are developing a Cordova web app with vue.js.
We have a web player on two different pages.
We have the latest version of the spine web player plugin locally.
When we leave a page with a spineplayer, we destroy the parent element to the spine container, we set the spineplayer variable stopRequestAnimationFrame to "true" and then we null the local reference to the spineplayer.
And when we go to the next page the CPU usage stays the same as when we were on the previous page. When we then go back to that same page or the other page with a spineplayer we see an increase in the CPU usage.
Has anyone else encountered this problem or have any advice?
Edit:
We have resolved the issue listed above but have found another issue.
The issue was that there were some eventlisteners that were not removed when they should.
The new issue we found was that the CPU usage is increasing when staying on the same page viewing the same looping animation. It is more noticeable on IOS devices than desktop but it still happens there also