I'm using Phaser 3.87, and esotericsoftware/spine-phaser: 4.2.71
if i do this, extending SpineGameObject, and writing methods and other data i need within it (i deleted all code except the one showed here, issue persists)
let symbol = new SpineSymbol({
scene: this.scene,
x: x,
y: y,
})
export class SpineSymbol extends SpineGameObject {
constructor({
scene,
x,
y,
} = {}) {
super(scene, scene.spine, x,y,'symbolsAnimationData','symbolsAnimationAtlas')
scene.add.existing(this)
}
it causes memory leak, but if i add symbols normally, like this,
this.scene.add.spine(x,y,'symbolsAnimationData','symbolsAnimationAtlas')
there is no memory leak, did i make a mistake somewhere to cause this memory leak?