clear weak reference list when an extension type is destroyed (#1761)
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 https://github.com/pythonnet/pythonnet/pull/1758 ( 50da522c3b9098ebe10dde456efa81319083d6ba )
V
Victor committed
86c6a7f40c3f62bb1b085e2645ba9e2729439a39
Parent: 50da522
Committed by GitHub <noreply@github.com>
on 4/10/2022, 7:24:38 AM