Bill Pierce wrote:
> If you new a disposable object, you should dispose that object.
> If you resolve a component, you should release the component.
>
> MyPage did not call resolve, so it should not be concerned with calling 
> release.
>
> If FrameworkInitialize is resolving components, then you should have a
> FrameworkTeardown to release the components.
>   
Are you supposed to release singletons? What about per-thread objects or 
objects in a custom lifecycle?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Development List" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/castle-project-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to