Hi, sorry for bad english,
When animation on node with gui.animate starts and callback function sets, next before animation completes calling gui.cancel_animation() for this node or starts another animation with same anim property as first animation - in profiler Lua.Refs increase and never decrease. If we execute this test without callback function Lua.Refs - stays same and everything’s ok.
Same test with go.animate releases Lua.Refs as expected.
I think ref to callback function not released with gui.animate.
Question - is it normal behavior or bug? Correct me if my test have errors and I work with animations wrong.
Editor version: 1.2.155, Channel: editor-alpha
atach simple demo - one click - start animation, next click stop animation if playing.
clicking increases Lua.Refs and never decrease
EmptyTest.zip (7.1 KB)