mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-12 14:28:56 +00:00
[ticket/security/278] Always release cron lock, even invalid task is passed
SECURITY-278
This commit is contained in:
parent
1c1c981b17
commit
1fb7e6d2c8
1 changed files with 1 additions and 2 deletions
|
@ -85,9 +85,8 @@ class cron_runner_listener implements EventSubscriberInterface
|
||||||
{
|
{
|
||||||
$task->run();
|
$task->run();
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->cron_lock->release();
|
|
||||||
}
|
}
|
||||||
|
$this->cron_lock->release();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue