Author Topic: foreach leaks  (Read 2613 times)

MikeMarcin

  • Guest
foreach leaks
« 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.

MikeMarcin

  • Guest
Re: foreach leaks
« Reply #1 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.