From: Keats <ke...@ea...> - 2003-07-15 18:01:18
|
> I've removed the explicit cleanup of context tools and am letting > garbage collection do that for us. I pushed tools loading into the > Broker; as a result, the Context got a lot lighter-weight. I'm not sure about removing the call to destroy(). I don't think any of the standard tools need this, but I've built at least one custom tool that relies on this to release database connections. Perhaps we can come up with a better way of handling this, like a ContextUnbindListener so that tools can register themselves if they need to be notified when the context is finished with them? Keats |