On Nov 30, 2007, at 6:06 PM, Guyren Howe wrote:
> On Nov 30, 2007, at 4:40 PM, Frank Condello wrote:
>
>> It's important to note that the delegate stores a strong ref to the
>> instance behind your back, which can wreak havoc if you rely on
>> things automatically cleaning up after themselves. In general I'd
>> think delegates that held weak refs and fired exceptions when
>> "Invoked" on a Nil object would be more useful, but I'm sure RS had
>> their reasons for the current implementation.
>
> Requested:
>
> <http://www.realsoftware.com/feedback/viewreport.php?
> reportid=oqccypjd>
>
I note, though, that delegates can be stored in WeakRef objects. So
I'm not sure that such a feature request is crucial.
Charles Yeomans
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|