For TEventHandler and TWeakCallableCollection
with unit tests
The TWeakList doesn't WeakReference array objects that implement IWeakRetainable. This commit makes that behavior consistent in TEventHandler and TWeakCallableCollection.
Not sure what the use case would be for having something respond to an event where it is the only instance in the application, but it is the proper maths.
For TEventHandler and TWeakCallableCollection with unit tests
The TWeakList doesn't WeakReference array objects that implement IWeakRetainable. This commit makes that behavior consistent in TEventHandler and TWeakCallableCollection.
Not sure what the use case would be for having something respond to an event where it is the only instance in the application, but it is the proper maths.