[Mono-bugs] [Bug 386483] MenuStrip prevents Form from being GC'd

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue May 6 15:29:24 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=386483

User jpobst at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=386483#c3


Jonathan Pobst <jpobst at novell.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                                        |RESOLVED
         Resolution|                                                |FIXED




--- Comment #3 from Jonathan Pobst <jpobst at novell.com>  2008-05-06 13:29:24 MST ---
Thanks!  I was not familiar with WeakReferences.

Fixed in r102636:

2008-05-06  Jonathan Pobst  <monkey at jpobst dot com>

        * ToolStripManager.cs: Store references to toolstrips as
        weak references so they do not prevent forms from getting collected.
        [Fixes bug #386483]

Cleaned up in r102640:

2008-05-06  Jonathan Pobst  <monkey at jpobst dot com>

        * ToolStripManager.cs: Don't use IsAlive, race condition, etc. etc.


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


More information about the mono-bugs mailing list