2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

unlock T4_mx

This commit is contained in:
Mark Andrews
2015-05-30 17:54:33 +10:00
parent e0fea0bf85
commit b704d25ff3

View File

@@ -985,6 +985,12 @@ t_tasks4(void) {
if (isc_result != ISC_R_SUCCESS) {
t_info("isc_task_create failed %s\n",
isc_result_totext(isc_result));
isc_result = isc_mutex_unlock(&T4_mx);
if (isc_result != ISC_R_SUCCESS) {
t_info("isc_mutex_unlock failed %s\n",
isc_result_totext(isc_result));
++T4_nprobs;
}
DESTROYLOCK(&T4_mx);
(void) isc_condition_destroy(&T4_cv);
isc_taskmgr_destroy(&tmgr);