13 points · by vmorgulis · 11y ago · 1 comment
Typically if you're observing a value, you also want safety against dangling references. If the owner destroys the object, your copy of the pointer should be cleared out so that you can't accidentally look at the original.