Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / DeleteImage not working?

Author
Message
ManOfActionTM
13
Years of Service
User Offline
Joined: 16th May 2011
Location: Sahuarita, Arizona
Posted: 10th Feb 2012 17:05
Hey Everyone--

I'm watching the activity monitor in xcode, and I'm noticing that whenever I run into the section of code that uses the delete image command (changing themes), the image doesn't seem to be getting removed from memory.

I've stepped through the code, and it definitely goes through the appropriate lines, but my RAM usage grows and grows until the device runs out of memory. It wasn't noticeable on the iPad, I can change themes at LEAST ten times and not have any issues. But for iPhone, I can change it only twice. On the third time, the device crashes.

Just wondering if I'm doing something wrong, or if there is a problem with the deleteImage function.
Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 10th Feb 2012 17:38
Can you email me an example of the problem and I'll take a look.

Login to post a reply

Server time is: 2024-11-23 01:21:02
Your offset time is: 2024-11-23 01:21:02