I've been testing the autoreload feature, and it is very nice. I'm still
getting used to the lightning fast responses as compared to OneShot!

I do have a problem though... I have a module that exports a global
database pool. On instantiation and subsequent first use, a bunch of
persistent connections to one or more databases are opened. I notice
however, that when the autoreload is triggered, a bunch of new connections
is created (because the global db pool is being reinstantiated), but the
old global pool persists. So, I'm leaking connections on a reload despite
the global pool being a singleton.

Is there a way to resolve this problem automatically, or will I have to
register a shutdownhandler to explicitly delete the global pool instance?

...Edmund.



-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to