Re: [naviserver-devel] Module unloading

2006-05-01 Thread Vlad Seryakov
I agree, i was just surprised that DB driver never calls DbClose on exit, if i need to do it i have to write proc that will call ns_db bouncepool for every registered pool on server exit for Berkeley Db module i will do on_exit callback internally but just wanted to see other opinions on the t

Re: [naviserver-devel] Module unloading

2006-05-01 Thread Vlad Seryakov
Not unload, but call proc on "unload", similar to init during loading, that will be shutdown proc on server exit Zoran Vasiljevic wrote: On 01.05.2006, at 19:23, Vlad Seryakov wrote: Funny thing i encountered today, working with Berkeley module, i discovered that once loaded, DB driver is ne

Re: [naviserver-devel] Module unloading

2006-05-01 Thread Andrew Piskorski
On Mon, May 01, 2006 at 01:23:52PM -0400, Vlad Seryakov wrote: > Subject: Module unloading Well, don't think you're talking about module unloading at all (good!). You seem to be talking about callbacks to call when shutting down the Naviserver process. > Funny thing i encountered today, working

Re: [naviserver-devel] Module unloading

2006-05-01 Thread Zoran Vasiljevic
On 01.05.2006, at 19:23, Vlad Seryakov wrote: 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_Mo