On Sun, 18 Nov 2001 22:01, Vincent Massol wrote: > The "developing with Avalon" guide suggest (strategy 1) to release > components that we use in the release() method. It doesn't say for which > kind of components, but I guess it only makes sense for poolable ones, > right ? Or is there a reference count in the excalibur component manager > code ?
Ideally you should always call release because you never are meant to know the strategy by which the ComponentManager manages components. Some CMs may pool, while others may be factories while others may be a hashmap with a nice interface. However in most cases I don't release() components because I know the "vertical" framework that I created using Avalon will pay the release(0 call no heed. -- Cheers, Pete *----------------------------------------------* | The best defense against logic is ignorance. | *----------------------------------------------* -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>