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

Submitted by:  Heiko Weiss <brubbel>
Submitted on:  Tue 14 Mar 2006 11:34:38 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

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

fixed in cvs

Deryk Robosson <drobosson>
Project 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>
Project 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>
Project 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>
Project Member

 

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
  • -unavailable- added by drobosson (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 02 Apr 2007 06:19:04 AM UTCdrobossonOpen/ClosedOpen=>Closed
    Wed 15 Mar 2006 05:37:19 AM UTCbrubbelStatusNone=>Fixed
    Tue 14 Mar 2006 11:34:38 AM UTCbrubbelAttached File-=>Added GCForm.zip, #3500

    Back to the top


    Powered by Savane 3.1-cleanup1