SpiderPig Posted November 5, 2010 Share 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 Link to comment Share on other sites More sharing options...
Laurens Posted November 5, 2010 Share 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 Link to comment Share on other sites More sharing options...
SpiderPig Posted November 5, 2010 Author Share Posted November 5, 2010 Aha, right. Thanks! Quote Link to comment Share on other sites More sharing options...
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.