16 Feb 07:49
Re: gc
From: Lalo Martins <lalo.martins@...>
Subject: Re: gc
Newsgroups: gmane.comp.lib.vos.devel
Date: 2008-02-16 06:49:44 GMT
Subject: Re: gc
Newsgroups: gmane.comp.lib.vos.devel
Date: 2008-02-16 06:49:44 GMT
hate to answer myself, butThe 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/
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
RSS Feed