Subscribe to Events

Dec 7, 2010 at 8:25 PM

I noticed that Subscribe method in CompositePresentationEvent is creating a weakreference for action. It is passing keepSubscriberReferenceAlive as false. But in some cases i'm losing the action (the value is null) and it works sometimes. I believe this is due to the weakreference and it is getting garbage collected. This works fine if I change it to true. Is there any specific reason that you guys set this value as false?