• Fred Drake's avatar
    cleanup_helper(): Make sure we invalidate all reference objects · 2a5a5ca0
    Fred Drake yazdı
                       before calling any callbacks.  This is important
                       since the callback objects only look at themselves
                       to determine that they are invalide.  This change
                       avoids a segfault when callbacks use a different
                       reference to an object in the process of being
                       deallocated.
    
    This fixes SF bug #415660.
    2a5a5ca0
_weakref.c 24.5 KB