-
Pablo Galindo authored
We must clean the weakreferences before calling the user's __dealloc__ because if the __dealloc__ releases the GIL, a weakref can be dereferenced accessing the object in an inconsistent state or resurrecting it.
82b029b3
We must clean the weakreferences before calling the user's __dealloc__ because if the __dealloc__ releases the GIL, a weakref can be dereferenced accessing the object in an inconsistent state or resurrecting it.