
28 Sep
2005
28 Sep
'05
3:24 a.m.
I just committed a conversion of the whole UI::View::View hierarchy over to the collector -- you can't do leaf classes individually and have it work right. Has to be everything in the hierarchy.
Not 100% sure I got the code straight because it was a very quick job, but I think so. I'll keep testing.
Important thing for everyone to realize: just like refcounted GObjects and so forth, GC::Anchored objects start with a "refcount" of one. No need to refcount them a second time after you create them. I've made this even more explicit in the CG::Anchored documentation which I would encourage everyone to read...
-mental