Funny thing i encountered today, working with Berkeley module, i discovered that once loaded, DB driver is never closed, in case of DB it needs to be closed otherwise datafile can be corrupted.

I am thinking to make it more generic, to add Ns_ModuleShutdown call to the modules and if defined, register it and on server shutdown call them in reverse order. Each module will decide what to do it if such public function is defined.

And for nsdb module i would close all pools on exit, for SQL drivers that is not the problem but for others it could be important.

Any objections?


--
Vlad Seryakov
571 262-8608 office
[EMAIL PROTECTED]
http://www.crystalballinc.com/vlad/


Reply via email to