New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[spine-ts] Spine-player continuously adding memory on looping animation in iphone Safari #2422
Comments
Oh, and if you have your own test harness for this, please share it. It's impossible to debug this without being able to reproduce it on my end. |
I do confirm that this only happens on Iphones. As mentioned i am testing with your example provided on this runtime https://github.com/EsotericSoftware/spine-runtimes/tree/4.1/spine-ts/spine-player The only difference is that i am using webpack for running it on the local network. |
Well, your screenshot says mount/unmount, so webpack isn't the only difference. You are likely using something like Vue/React/whatever. And my guess is, that your component gets remounted all the time until it's unmounted. That's the only thing I can think off for why this is happening on your end. So please, also provide your test harness. |
Its just a professional distortion, i am testing with your dispose.html template that looks like this `<!doctype html> <script src="../iife/spine-player.js"></script> <style> body { background: gray; margin: 0px; } </style>
Dispose
Get
<script>
var player = null;
|
I have tested with iphone 12 mini - iOS 16.6.1
spine-ts/spine-player.
https://github.com/EsotericSoftware/spine-runtimes/tree/4.1/spine-ts/spine-player
The issue is that when you leave the spine-player running a looping animation it continuously adding memory and disposing the player the memory is not cleared. I am providing the information from the developer tools
As you can see after the disposing the memory persists the value that was accumulated in the period and it is not cleared
The text was updated successfully, but these errors were encountered: