On Mon May 12 12:03:31 2025 +0000, Vibhav Pant wrote:
So, the tests above the ones I added here do check if weak references are being used, which is why I added them in the first place. But yes, using `IWeakReference *` would be better.
Yes, but still I'm not convinced we need to use weak refs. Sure you can add test that show various internal aspects of the implementation but unless there's a good reason (need to break a ref cycle, some application actually depends on returned refcount == 0, etc...) it's best to keep the implementation simple.