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

Add one more step for fb_shutdown process : fb_shut_finish

This commit is contained in:
hvlad 2008-12-11 11:43:06 +00:00
parent b1528c68c0
commit a0aa119e7e
2 changed files with 7 additions and 0 deletions

View File

@ -966,6 +966,7 @@
#define fb_shut_confirmation 1
#define fb_shut_preproviders 2
#define fb_shut_postproviders 4
#define fb_shut_finish 8
/****************************************/
/* Shutdown reasons, used by engine */

View File

@ -6048,6 +6048,12 @@ int API_ROUTINE fb_shutdown(unsigned int timeout, const int reason)
{
rc = FB_FAILURE;
}
// Finish shutdown
if (ShutChain::run(fb_shut_finish, reason) != FB_SUCCESS)
{
rc = FB_FAILURE;
}
}
catch (const Exception& e)
{