HaxeFlixel / flixel

Free, cross-platform 2D game engine powered by Haxe and OpenFL
https://haxeflixel.com/
MIT License
1.93k stars 427 forks source link

Prevent point/rect pool leaks #3103

Closed Geokureli closed 2 months ago

Geokureli commented 2 months ago

Found that certain flixel features were not correctly putting points and rects back into the pool and FlxImageFrames were never destroyed

Added FLX_TRACK_POOLS which adds watch values for each pool and tracks where all the unpooled objects are going and never returning