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

Fixed #7060: Deadlock when execute test for CORE-4337

(cherry picked from commit f361da98d1)
This commit is contained in:
AlexPeshkoff 2021-12-03 16:37:18 +03:00
parent dff8f05dcf
commit 1fcc805f0a

View File

@ -1962,10 +1962,12 @@ THREAD_ENTRY_DECLARE Service::run(THREAD_ENTRY_PARAM arg)
RefPtr<SvcMutex> ref(svc->svc_existence);
exit_code = svc->svc_service_run->serv_thd(svc);
threadCollect->add(svc->svc_thread);
const Thread::Handle& thrHandle(svc->svc_thread);
svc->started();
svc->svc_sem_full.release();
svc->finish(SVC_finished);
threadCollect->add(thrHandle);
}
catch (const Exception& ex)
{