This PR is stacked on top of #2, and it takes care of the case where the owner is a subclass of where the property is defined by putting the cached value in a WeakKeyDictionary, so that this property would not prevent subclass from being garbage collected.
This PR is stacked on top of #2, and it takes care of the case where the owner is a subclass of where the property is defined by putting the cached value in a
WeakKeyDictionary
, so that this property would not prevent subclass from being garbage collected.This PR should fix #1.