[Mono-bugs] [Bug 670294] AddSubview and Garbage collection

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Apr 21 16:10:13 EDT 2011



--- Comment #13 from Mohamed Azmy <azmy at ebseg.com> 2011-04-21 20:10:13 UTC ---
(In reply to comment #3)
> For now, I just unregister to all events used by my ViewControllers. The code
> I've shown is just to isolate the case, but my application's ViewControllers
> need to access instance's fields. I detect the pop of my ViewControllers and I
> then call a Clean() method.
> Thanks.


Can you please advise about your work around and how your you "unregister" the
events so that GC works fine

i have tried to use the approach of setting event -= handler but this did not
make GC work as well ?

And what details are you doing int he Clean Method 

Thanks for your help

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list