Branch: Tag:

2014-12-04

2014-12-04 19:25:11 by Henrik Grubbström (Grubba) <grubba@grubba.org>

GC: Give some more info to destruct_cb().

3873:    );    if (!SAFE_IS_ZERO(&gc_destruct_cb)) {    ref_push_object(o); -  safe_apply_svalue(&gc_destruct_cb, 1, 1); +  push_int(reason); +  push_int(o->refs - 1); +  safe_apply_svalue(&gc_destruct_cb, 3, 1);    pop_stack();    }