Hi, When we load an extension it invokes sqlite3_extension_init(). Lets say, in addition to creating functions, the loaded extension library also does some internal data structure allocations, initializations etc here.
Now, when the database is closed the loaded extension needs to do cleanup. To do that: 1. Is it possible to register a callback which is invoked on database close? 2. or is there a plan to add something like: sqlite3_extension_end() which can be used for this? 3. and if answer to 2 is yes, how about add an 'unload' command for extensions as well so that we can unload extensions when they are no more needed? 4. If none of the above functionality exists yet, is there a workaround available today to achieve this? Thanks, SK _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users