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

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


           Summary: Stream.Dispose() does not call GC.SuppressFinalize
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.10)
Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729; .NET4.0E)

Not sure if this is intentional or not but Stream.Dispose() does not call
GC.SuppressFinalize which is different from .NET. I noticed that classes like
CryptoStream have their own workarounds (look at CryptoStream.Clear). 

Our application make heavy use of Streams and we depend on the Stream class to
call GC.SuppressFinalize for us. I suspect there are others in this category.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.

-- 
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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to