hxcpp
hxcpp copied to clipboard
Finalizers must be marked before they can be run / HXCPP_GC_GENERATIONAL
Hi, I think i've found a bug in the GC generational,
In MarkAll gSpecialObjectLock should be locked at begin,
void MarkAll(bool inGenerational)
{
// Finalizers must be marked before they can be run
#ifdef HXCPP_GC_NURSERY
AutoLock lock(*gSpecialObjectLock);
#endif
What do you think Hugh ? Thank you