Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: MikeMarcin on June 15, 2012, 04:07:36 PM

Title: foreach leaks
Post by: MikeMarcin on June 15, 2012, 04:07:36 PM
I noticed in the release notes this line:

FIX: Eliminated all runtime uses of ‘foreach’, seeing as it causes memory leaks on iOS.

Are these real leaks or is it just the enumerators waiting to get garbage collected. We're using foreach pretty often in our code and I'm wondering if we need to replace them all.
Title: Re: foreach leaks
Post by: MikeMarcin on June 15, 2012, 04:24:14 PM
Ah nevermind found the answer at:

http://www.tasharen.com/?topic=mono-memory-heap-problem

It's just a problem with forcing the gc to run not true leaks.