mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 04:03:03 +01:00
Break service thread execution at engine shutdown
This commit is contained in:
parent
9c870f326d
commit
c12ff10b9f
@ -134,7 +134,8 @@ public: // utilities interface with service
|
|||||||
|
|
||||||
virtual bool finished()
|
virtual bool finished()
|
||||||
{
|
{
|
||||||
return (svc_flags & (SVC_finished | SVC_detached)) != 0;
|
return ((svc_flags & (SVC_finished | SVC_detached)) != 0)
|
||||||
|
|| checkForShutdown();
|
||||||
}
|
}
|
||||||
|
|
||||||
public: // external interface with service
|
public: // external interface with service
|
||||||
|
Loading…
Reference in New Issue
Block a user