Re: [IronPython] Possible WeakReference leak in Ipy 2.6.1

2010-10-13 Thread Idan Zaltzberg
opened *From:* users-boun...@lists.ironpython.com [mailto: users-boun...@lists.ironpython.com] *On Behalf Of *Dino Viehland *Sent:* Wednesday, October 13, 2010 9:49 PM *To:* Discussion of IronPython *Subject:* Re: [IronPython] Possible WeakReference leak in Ipy 2.6.1 Yep, this definitely

Re: [IronPython] Possible WeakReference leak in Ipy 2.6.1

2010-10-13 Thread Dino Viehland
Zaltzberg Sent: Wednesday, October 13, 2010 6:48 AM To: Discussion of IronPython Subject: [IronPython] Possible WeakReference leak in Ipy 2.6.1 When definnning classes in a method that are subcallses, like: def d(): class A(BaseType): pass ... The new generated types is

[IronPython] Possible WeakReference leak in Ipy 2.6.1

2010-10-13 Thread Idan Zaltzberg
When definnning classes in a method that are subcallses, like: def d(): class A(BaseType): pass … The new generated types is appended to the _subtypes weak reference list on BaseType. Looks like this list is only cleaned when RemoveSubType Is called, which might