http://bugzilla.novell.com/show_bug.cgi?id=559663
http://bugzilla.novell.com/show_bug.cgi?id=559663#c0 Summary: finalize not called on the instance assigned to static field. .NET difference Classification: Mono Product: Mono: Runtime Version: SVN Platform: i686 OS/Version: Ubuntu Status: NEW Severity: Major Priority: P5 - None Component: GC AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- Created an attachment (id=330346) --> (http://bugzilla.novell.com/attachment.cgi?id=330346) Simple test case shows .NET and mono difference - ~MainClass Destructor not called. User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091109 Ubuntu/9.10 (karmic) Firefox/3.5.5 Consider this code snippet: static MainClass o; static MainClass() { o = new MainClass(); } finalize is not called on instance assigned to o. Reproducible: Always Steps to Reproduce: 1. Compile and Run Attached test case 2. 3. Actual Results: static MainClass Expected Results: static MainClass ~MainClass -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
