pike.git / src / module.c

version» Context lines:

pike.git/src/module.c:484: Inside #if defined(DO_PIKE_CLEANUP)
   * the gc in a special mode for this to get a reasonably sane    * destruct order. */   #ifdef PIKE_THREADS    cleanup_all_other_threads();   #endif    gc_destruct_everything = 1;    count = do_gc (NULL, 1);    while (count) {    size_t new_count = do_gc (NULL, 1);    if (new_count >= count) { -  fprintf (stderr, "Some destroy function is creating new objects " +  fprintf (stderr, "Some _destruct function is creating new objects "    "during final cleanup - can't exit cleanly.\n");    break;    }    count = new_count;    }   #ifdef PIKE_DEBUG    if (!count) {    struct object *o;    for (o = first_object; o; o = o->next)    if (gc_object_is_live (o))