fix typo caused dead lock
This commit is contained in:
parent
c78f9cf91c
commit
762b59c043
1 changed files with 1 additions and 1 deletions
|
|
@ -239,7 +239,7 @@ static int apiserver_job_fail_fun(int type, int situation, void* data,
|
||||||
__func__, c->apiservers[i].name, rc);
|
__func__, c->apiservers[i].name, rc);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
mylock_lock(&(c->apiservers[i].lock));
|
mylock_unlock(&(c->apiservers[i].lock));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue