Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FlxG.play() not destroying FlxSound object even when AutoDestroy flag is set. #240

Open
brantkings opened this issue Oct 9, 2013 · 1 comment

Comments

@brantkings
Copy link

Hello!
The FlashDevelop Profiler is accusing FlxSound and SoundTransform objects of piling up when I keep calling sound effects in the game with the FlxG.play() function. When I keep the FlxSound object and play it manually, the problem is solved!
Cheers,

@IQAndreas
Copy link

Thanks for the heads up.

We have been working on updating Flixel in a separate repository, and recently made huge changes to the FlxSound class. Could you give the following version of Flixel a try and let me know if it properly garbage collects the sound objects?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants