[Mono-bugs] [Bug 623817] UIAlertView clicked event crash MonoTouch 3.0.11

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jul 26 04:52:28 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=623817

http://bugzilla.novell.com/show_bug.cgi?id=623817#c1


Miguel de Icaza <miguel at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |miguel at novell.com
         Resolution|                            |FIXED

--- Comment #1 from Miguel de Icaza <miguel at novell.com> 2010-07-26 08:52:27 UTC ---
This is not a bug, the "actionSheet" object lives as a temporary variable in
the function and as soon as the function terminates, the object is eligible for
garbage collection, so it is.

To fix this problem, you need to keep a reference to "actionSheet" outside your
method, somewhere that will live beyond your method.

That being said, since so many developers are running into this, we are adding
an manual reference/deference to this setup to avoid these problems.

-- 
Configure bugmail: http://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