Skip to content

Fix resource leak in Asteroids and Sounds demos#16

Open
MineRobber9000 wants to merge 1 commit into
JoeStrout:mainfrom
MineRobber9000:fix-asteroids-leak
Open

Fix resource leak in Asteroids and Sounds demos#16
MineRobber9000 wants to merge 1 commit into
JoeStrout:mainfrom
MineRobber9000:fix-asteroids-leak

Conversation

@MineRobber9000

Copy link
Copy Markdown
Contributor

Both the sounds and asteroids demos were leaking resources, since they each set up resources (a Texture and a Font, in the case of Asteroids, and 6 Sounds, in the case of the sounds demo) and never unloaded them. This fixes that.

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

Successfully merging this pull request may close these issues.

1 participant