Hi,
I tried to search the documentation but I didn’t find out any answer for this:
When I start a co-routine on an object that gets destroyed after some time, do I need to manually stop the coroutine when the object is destroyed? At least the execution of the coroutine seems to stop, but does the coroutine stay somewhere in the mono engine as a wasted resource?
Our game seems to leak memory a few hundred KB’s between the levels, leading to random crashes on 3g iPhone, and this was the first thing that came to my mind because we have a lot of objects that have custom visibility check running as a co-routine.
br,
Sami