-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kamil
Dworakowski
Sent: Saturday, November 29, 2008 1:16 PM
To: Discussion of IronPython
Subject: Re: [IronPython] Event unhooking and IPy2
On Fri, Nov 28, 2008 at 11:39 AM, Michael Foord
<[EMAIL PROTECTED]>
ichael Foord
> Sent: Tuesday, December 02, 2008 11:49 AM
> To: Discussion of IronPython
> Subject: Re: [IronPython] Event unhooking and IPy2
>
> Marty Nelson wrote:
> > We've had probably with memory leaks on Windows Form subscribed menu
> > item clicks, just with pl
On Behalf Of Kamil
Dworakowski
Sent: Saturday, November 29, 2008 1:16 PM
To: Discussion of IronPython
Subject: Re: [IronPython] Event unhooking and IPy2
On Fri, Nov 28, 2008 at 11:39 AM, Michael Foord
<[EMAIL PROTECTED]> wrote:
Just as a follow up to this - the reason for the hack below is that
owski
Sent: Saturday, November 29, 2008 1:16 PM
To: Discussion of IronPython
Subject: Re: [IronPython] Event unhooking and IPy2
On Fri, Nov 28, 2008 at 11:39 AM, Michael Foord
<[EMAIL PROTECTED]> wrote:
> Just as a follow up to this - the reason for the hack below is that
> subscribing
On Fri, Nov 28, 2008 at 11:39 AM, Michael Foord
<[EMAIL PROTECTED]> wrote:
> Just as a follow up to this - the reason for the hack below is that
> subscribing to events from IronPython is still causing our UI objects (and
> their whole object graphs) to not be garbage collected.
To be fair, we hav
Just as a follow up to this - the reason for the hack below is that
subscribing to events from IronPython is still causing our UI objects
(and their whole object graphs) to not be garbage collected. This was a
brute force way of clearing out subscribed events so that unneeded UI
components can
In Resolver One on IronPython 1, we have code to unhook events that uses an
object that is equal to everything like this:
e = EqualToAll()
for _ in range(100):
event -= e
What we have discovered when we run under IPy2, is that the __eq__ method on
EqualToAll is only called when the target of t