What are the differences between weak and unowned references in Vala.
Based on what I've learned from Vala tutorials both weak and unowned references are not counted, and when the real instance goes out of scope they will refer to null(!!).
Why there should be tow distinct means for one reason?(if they do the same job) If not, could someone give me a simple example to show why and when we have to use each of them?!
Thanks a lot