8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 22:03:03 +01:00

Clear metadata cache at database shutdown to correctly release used resources.

This commit is contained in:
hvlad 2009-03-15 18:05:04 +00:00
parent 520e09874f
commit 1880c5c0dd

View File

@ -5245,6 +5245,8 @@ static void shutdown_database(Database* dbb, const bool release_pools)
TRA_header_write(tdbb, dbb, 0L); // Update transaction info on header page.
#endif
MET_clear_cache(tdbb);
#ifdef GARBAGE_THREAD
VIO_fini(tdbb);
#endif