Peter,

The problem is that means that the Block has to manage when to invalidate
the proxy. If it is done via BlockContext then Phoenix can manage when
the proxies are invalidated and thus force it  to invalidate at block
shutdown.

True, but if it is using the proxy internally, then GC will do yes?


Not while it is still referenced somewhere else. The main reason I want to use this is to stop people using objects after their creator has been shutdown. These other people will still be referencing these objects and thus wont be GCed


But if the alternative was to ask the coder to nullify or undo proxy during stop() or destruct() methods for a block they it is just equivalet to a massice tree being GC'd?

However if you are convinced.....

- Paul



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



Reply via email to