Memory leak with swf library on native platforms

Hello everyone,

I need help looking for this issue because I’m really lost and I need it to work for my game.

This is the issue on github:

Basically it is crashing on native platforms because the memory increases a lot. I added a demo where this can be done very fast but it happens with every swf asset loaded.