SpiderPig Posted November 5, 2010 Posted November 5, 2010 What happens if I don't call "FreeEntity()" at the end of my program? Does the entity remain in memory? Just wondering how important it is.... Quote
Laurens Posted November 5, 2010 Posted November 5, 2010 If you don't call FreeEntity at the end of your program it is not really an issue since the OS will reclaim the memory your game used anyway. If you don't call it when entities go out of scope while your game is still running it will cause memory leaks. Cheers! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.