mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 08:43:03 +01:00
Add one more step for fb_shutdown process : fb_shut_finish
This commit is contained in:
parent
b1528c68c0
commit
a0aa119e7e
@ -966,6 +966,7 @@
|
|||||||
#define fb_shut_confirmation 1
|
#define fb_shut_confirmation 1
|
||||||
#define fb_shut_preproviders 2
|
#define fb_shut_preproviders 2
|
||||||
#define fb_shut_postproviders 4
|
#define fb_shut_postproviders 4
|
||||||
|
#define fb_shut_finish 8
|
||||||
|
|
||||||
/****************************************/
|
/****************************************/
|
||||||
/* Shutdown reasons, used by engine */
|
/* Shutdown reasons, used by engine */
|
||||||
|
@ -6048,6 +6048,12 @@ int API_ROUTINE fb_shutdown(unsigned int timeout, const int reason)
|
|||||||
{
|
{
|
||||||
rc = FB_FAILURE;
|
rc = FB_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Finish shutdown
|
||||||
|
if (ShutChain::run(fb_shut_finish, reason) != FB_SUCCESS)
|
||||||
|
{
|
||||||
|
rc = FB_FAILURE;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (const Exception& e)
|
catch (const Exception& e)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user