[vos-d] gc

Lalo Martins lalo.martins at gmail.com
Sat Feb 16 01:49:44 EST 2008


hate to answer myself, but :-)

The recipe for "transient" objects is:
factory.create(core::SiteWrapper(), fooComponent::implementation())

It will have no site, and its vobjectId will be 0.  And it won't be in 
any site's vobjectTable, so when the refcount reaches 0, it's gone.

best,
                                               Lalo Martins
-- 
      So many of our dreams at first seem impossible,
       then they seem improbable, and then, when we
       summon the will, they soon become inevitable.
                           -----
                  http://lalomartins.info/
GNU: never give up freedom              http://www.gnu.org/




More information about the vos-d mailing list