mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Add qof_backend_module_finalize() routine to call dbi_shutdown() to free allocated resources.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18486 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
a3b87ece92
commit
e278b0c643
@ -992,6 +992,12 @@ qof_backend_module_init( void )
|
||||
qof_log_set_level( log_module, QOF_LOG_DEBUG );
|
||||
}
|
||||
|
||||
G_MODULE_EXPORT void
|
||||
qof_backend_module_finalize( void )
|
||||
{
|
||||
dbi_shutdown();
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------- */
|
||||
typedef struct
|
||||
{
|
||||
|
@ -31,7 +31,7 @@
|
||||
|
||||
#include <gmodule.h>
|
||||
|
||||
G_MODULE_EXPORT void
|
||||
qof_backend_module_init(void);
|
||||
G_MODULE_EXPORT void qof_backend_module_init(void);
|
||||
G_MODULE_EXPORT void qof_backend_module_finalize(void);
|
||||
|
||||
#endif /* GNC_BACKEND_DBI_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user