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

States are not unloaded when the Director dies #43

Closed
jeaye opened this issue Sep 8, 2013 · 1 comment
Closed

States are not unloaded when the Director dies #43

jeaye opened this issue Sep 8, 2013 · 1 comment
Assignees
Labels
Milestone

Comments

@jeaye
Copy link
Owner

jeaye commented Sep 8, 2013

Each loaded state needs to be cleaned up when the game comes to an end (particularly for releasing GL names). To do this, the Director needs to unload all states before it's destroyed.

@ghost ghost assigned jeaye Sep 9, 2013
@jeaye
Copy link
Owner Author

jeaye commented Sep 9, 2013

This is blocked on the ability to mutate the Director in its dtor. See rust-lang/rust#4330

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

No branches or pull requests

1 participant