http://d.puremagic.com/issues/show_bug.cgi?id=3523



--- Comment #4 from Witold Baryluk <bary...@smp.if.uj.edu.pl> 2009-11-25 
05:53:40 PST ---
No, sorry i made mistake. Even after change it is not garbage collected.
Which is normal, because this Fiber is running some method from this object
(namly method named void iter() ), so this object (AGenerator) is still
referenced by Fiber, and it's destructor can't be called. So probably only way
to call destructor will be to separate this into two classes, which is
referenced by delegate from class A, and second which is used only for calling
from outside of fiber.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to