[Mono-bugs] [Bug 366489] New: ResourceManager.GetObject("SomeBitmap") returns same reference every time

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Mar 2 16:12:19 EST 2008


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


           Summary: ResourceManager.GetObject("SomeBitmap") returns same
                    reference every time
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: jdpurcell2 at yahoo.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


I have a problem running one of my applications in Mono because it gets a
Bitmap with ResourceManager.GetObject, uses the Bitmap briefly, then disposes
it.  This can happen more than once in MS.NET, but in Mono subsequent calls to
ResourceManager.GetObject returns the same Bitmap which has been disposed. 
MS.NET returns a reference to a different Bitmap each time, maybe it Clones it
(not sure).


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