[Mono-bugs] [Bug 660986] New: DataGridView doesn't dispose columns

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Dec 22 06:08:04 EST 2010


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

https://bugzilla.novell.com/show_bug.cgi?id=660986#c0


           Summary: DataGridView doesn't dispose columns
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.8.x
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: eb1 at sil.org
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=405970)
 --> (http://bugzilla.novell.com/attachment.cgi?id=405970)
Sample app that demonstrates the problem

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13)
Gecko/20101206 Ubuntu/10.10 (maverick) Firefox/3.5

DataGridViewColumns that are added to a DataGridView aren't disposed when
calling DataGridView.Dispose().

This is bad if the column holds unmanaged resources that need to be released or
otherwise the app hangs.



Reproducible: Always

Steps to Reproduce:
Build and run attached sample.
Actual Results:  
Output of sample app when run on command line:
Undisposed MyDataGridViewTextColumn objects: 1


Expected Results:  
Undisposed MyDataGridViewTextColumn objects: 0

-- 
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