[plt-scheme] Cleanup on servlet timeout
On Mon, Jul 28, 2008 at 12:21 PM, Henk Boom <lunarc.lists at gmail.com> wrote:
> On 2008-07-28, Robby Findler <robby at cs.uchicago.edu> wrote:
>> What does the database connection look like? Is it via the C ffi, or a
>> network connection or something else?
>
> The database handle comes directly from the sqlite library, through
> the lib/foreign ffi. sqlite runs in the same process as mzscheme,
> since it's simply a library.
I see. Not knowing enough about databases, I wonder if the sqlite
library can integrate with custodian-shutdown-all so that it
(gracefully) closes the database connection when the custodian gets
shutdown? Does that make sense?
Robby