Clear weakref list when reflected object is destroyed by lostmsu · Pull Request #1758 · pythonnet/pythonnet

@lostmsu

@lostmsu added this to the 3.0.0 milestone

Apr 8, 2022

lostmsu added a commit to losttech/pythonnet that referenced this pull request

Apr 9, 2022
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 )

lostmsu added a commit to losttech/pythonnet that referenced this pull request

Apr 9, 2022
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 )

filmor pushed a commit that referenced this pull request

Apr 10, 2022
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 #1758 ( 50da522 )