8
0
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:
hvlad 2009-02-04 13:08:04 +00:00
parent 9c870f326d
commit c12ff10b9f

View File

@ -134,7 +134,8 @@ public: // utilities interface with service
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