提交 a67efcbd 编写于 作者: weixin_47267244's avatar weixin_47267244

修复动态移除定时任务

上级 2655ff67
......@@ -141,7 +141,11 @@ class CronManager
{
if (isset($this->tasks[$id]))
{
unset($this->tasks[$id], $this->realTasks[$id]);
unset($this->tasks[$id]);
}
if (isset($this->realTasks[$id]))
{
unset($this->realTasks[$id]);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册