I loaded a TmxMap with some animated tiles. The number of allocated memory steadily increased.
After changing "foreach (var tileset in Tilesets)" to " for (var i = 0; i < Tilesets.Count; i++)" the allocated memory is stable.
It would be great if you could have a look at this issue and maybe allow to merge the pull request.
Hello,
I loaded a TmxMap with some animated tiles. The number of allocated memory steadily increased. After changing "foreach (var tileset in Tilesets)" to " for (var i = 0; i < Tilesets.Count; i++)" the allocated memory is stable.
It would be great if you could have a look at this issue and maybe allow to merge the pull request.
Best regards, stallratte