bugDotGNU Portable.NET - Bugs: bug #16089, Garbage Collector does not call...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #16089: Garbage Collector does not call Finalizers if using Forms

Submitter:  Heiko Weiss <brubbel>
Submitted:  Tue 14 Mar 2006 11:34:38 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Mon 02 Apr 2007 06:19:04 AM UTC, comment #3: 

fixed in cvs

Deryk Robosson <drobosson>
Group Member
Sat 31 Mar 2007 08:21:58 AM UTC, comment #2: 

Heiko, if this hasn't broken anything (I'd presume it hasn't since this bug has been open for ages now) would you please close it?

Deryk Robosson <drobosson>
Group Member
Wed 15 Mar 2006 05:37:19 AM UTC, comment #1: 

Fixed in cvs.
Modified Xsharp/Widget.cs, plz check if it breaks something.

Heiko Weiss <brubbel>
Group Member
Tue 14 Mar 2006 11:34:38 AM UTC, original submission:  


The GC does not call the Finalizers, if showing a form and closing it.
Have attached a small sample.
Form1:
Click on button1 -> a 2nd form Form2 is created.
Form2:
is using a testclass XXX with Finalizer.
Close the Form2.

Now click button Collect of Form1.
The GC should call the Finalizer of class XXX.

BUT is not called.

I think theres a problem with forms only.
if I use class XXX in a Console-App with new XXX() and do GC.Collect, the GC is calling the Finalizer.
So it must be a bug in using SWF.

Please help urgent!!!

Thx
Brubbel

Heiko Weiss <brubbel>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #1526:  GCForm.zip added by brubbel (16KiB - application/x-zip-compressed - Sample)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by drobosson (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-04-02 drobosson Open/ClosedOpen Closed
    2006-03-15 brubbel StatusNone Fixed
    2006-03-14 brubbel Attached File- Added GCForm.zip, #3500

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code