I'm looking to initialize a component on a background thread, so I hacked 
something together. It looks like this:

https://gist.github.com/2640092

It works really nice, except that of course the component isn't being 
disposed unless something else that depends on it is resolved, meaning 
there's a live component needing disposing which isn't being disposed.

Where would I jack into Windsor 3 to provide a piece of logic stating, that 
for this type of handler/component/burden (?) when the container/kernel is 
being disposed, also perform a resolve and then release call, for this 
component?

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/castle-project-users/-/GZa5mIdsbKgJ.
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-users?hl=en.

Reply via email to