Skip to content

Commit 5c01b44

Browse files
committed
Fix for a hang during QA
1 parent 11a1156 commit 5c01b44

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/jrd/svc.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1946,11 +1946,13 @@ THREAD_ENTRY_DECLARE Service::run(THREAD_ENTRY_PARAM arg)
19461946
RefPtr<SvcMutex> ref(svc->svc_existence);
19471947
exit_code = svc->svc_service_run->serv_thd(svc);
19481948

1949+
Thread svcThread(std::move(svc->svc_thread));
1950+
19491951
svc->started();
19501952
svc->unblockQueryGet();
19511953
svc->finish(SVC_finished);
19521954

1953-
threadCollect->ending(std::move(svc->svc_thread));
1955+
threadCollect->ending(std::move(svcThread));
19541956
}
19551957
catch (const Exception& ex)
19561958
{

0 commit comments

Comments
 (0)