At a certain point, during the running of my app, I want Castle.Windsor to release everything cached in memory. Is this impossible for a singleton object?
views:
53answers:
3
+1
A:
Use nested container for that, register singleton in the nested container and it will get released. But why are you doing it in the first place?
Krzysztof Koźmic
2010-03-29 15:59:45
A:
I was trying to get around an unrelated problem by doing this. It is not the solution. Thanks everyone.
Corpsekicker
2010-04-08 08:02:12