[ticket/security/278] Always release cron lock, even invalid task is passed

SECURITY-278
This commit is contained in:
Marc Alexander 2024-05-18 21:43:21 +02:00
parent 1c1c981b17
commit 1fb7e6d2c8
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -85,9 +85,8 @@ class cron_runner_listener implements EventSubscriberInterface
{
$task->run();
}
$this->cron_lock->release();
}
$this->cron_lock->release();
}
}