mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 23:07:39 +02:00
[ticket/security/278] Always release cron lock, even invalid task is passed
SECURITY-278
This commit is contained in:
@@ -85,9 +85,8 @@ class cron_runner_listener implements EventSubscriberInterface
|
|||||||
{
|
{
|
||||||
$task->run();
|
$task->run();
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->cron_lock->release();
|
|
||||||
}
|
}
|
||||||
|
$this->cron_lock->release();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user