dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pnet-developers] [bug #16089] Garbage Collector does not call Finalizer


From: Heiko Weiss
Subject: [Pnet-developers] [bug #16089] Garbage Collector does not call Finalizers if using Forms
Date: Tue, 14 Mar 2006 12:34:39 +0100
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=16089>

                 Summary: Garbage Collector does not call Finalizers if using
Forms
                 Project: DotGNU Portable.NET
            Submitted by: brubbel
            Submitted on: Di 14.03.2006 um 12:34
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________

Details:


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





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Di 14.03.2006 um 12:34  Name: GCForm.zip  Size: 15,94KB   By: brubbel
Sample
<http://savannah.gnu.org/bugs/download.php?item_id=16089&item_file_id=3500>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=16089>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]