RedBus
RedBus copied to clipboard
Implement Weak References
👋 Just came across this project, looks really good!
Can you give a bit more info on what Weak References is about?
Hi @tugberkugurlu - thanks!
I have not looked too much into this just yet but from what I remember on this the idea was that using weak references (for the stored Action) will remove the need to explicitly unsubscribe / help avoid memory leaks caused by holding onto the target, as it the weak reference will not stop the target from being GC'd - Would also need something that dealt with 'Expired' weak references though and cleaned them up. Not 100% sure this is neccessary (or even good) so created this as a placeholder to check it out