• Kevin Modzelewski's avatar
    Temporary fix for freeing-classes-before-instances bug · e0bd51eb
    Kevin Modzelewski authored
    Was running into it, so just added a quick fix that should hopefully
    get us through until rudi gets in his real fix.
    
    This commit just delays freeing the class objects until the end of the
    sweep.  It doesn't deal with a number of corner cases such as if
    a class and a metaclass get freed at the same time (they both get delayed
    to the same point), or if we free a class with weakrefs to it (it just
    gets treated like a normal weakreferent).
    e0bd51eb
heap.h 17.9 KB