On 23/01/06, Oleg Kalnichevski <[EMAIL PROTECTED]> wrote:
> On Mon, 2006-01-23 at 19:47 +0000, sebb wrote:
> > Might be useful to add a finalizer which logs a warning if the Manager
> > has not been shut down properly?
> >
> > Sebastian
> >
>
> Sebastian,
> There are situations where such a warning would be inappropriate.
> Consider the case of HttpClient being used as a singleton. We might,

Not sure I understand what you mean here - surely even a singleton
needs to be closed properly?

> however, run a simple static counter of how many connection managers
> have been GC-ed without having been properly shut down and start
> printing warnings beyond a certain threshold in order to circumvent the
> problem.
>

OK.

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

Reply via email to