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

Disposing Screens #2

Open
asdf-qwert opened this issue Oct 21, 2014 · 1 comment
Open

Disposing Screens #2

asdf-qwert opened this issue Oct 21, 2014 · 1 comment

Comments

@asdf-qwert
Copy link

Screens are not disposing automatically when you call game.setScreen(new....);
You have to manually dispose screens when changing.

@CodeMaven
Copy link
Contributor

Hi,

Thanks for this. It is something that we are aware of which never got addressed. I have opened an issue on our tracking system to take care of it. I need to look at best practices to see how it is generally done in other apps. I did have some disposing of resources in game screen on close, but those resources were not being re-initialized on playing a new game so I removed it.

Cheers,
Troy.

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