Always unlock, since FIFO mode may lock now.

This commit is contained in:
Ramon Novoa 2020-09-02 18:10:06 +02:00
parent 86495c03d0
commit 4e32d4efe0
1 changed files with 0 additions and 2 deletions

View File

@ -1114,8 +1114,6 @@ sub agent_lock {
sub agent_unlock {
my ($pa_config, $agent_name) = @_;
return if ($pa_config->{'dataserver_lifo'} == 1);
$AgentSem->down ();
delete ($Agents{$agent_name});
$AgentSem->up ();