Clear weak reference list when an extension type is destroyed by lostmsu · Pull Request #1761 · pythonnet/pythonnet
According to official documentation for defining extension types, if they are to support weak references, they must clear weak reference list associated with the instance in tp_clear. Extension types were missed in pythonnet#1758 ( 50da522 )
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters