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

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

(cherry picked from commit 3b000d3553)
This commit is contained in:
AlexPeshkoff 2021-12-03 17:47:55 +03:00
parent 1fcc805f0a
commit ea6862e23d

View File

@ -1962,7 +1962,7 @@ THREAD_ENTRY_DECLARE Service::run(THREAD_ENTRY_PARAM arg)
RefPtr<SvcMutex> ref(svc->svc_existence);
exit_code = svc->svc_service_run->serv_thd(svc);
const Thread::Handle& thrHandle(svc->svc_thread);
Thread::Handle thrHandle = svc->svc_thread;
svc->started();
svc->svc_sem_full.release();
svc->finish(SVC_finished);