Fix. Remove task in next.lua
This commit is contained in:
parent
ac44787e36
commit
b00229e5fc
|
|
@ -51,6 +51,9 @@ local function next_task()
|
|||
|
||||
if not ok then
|
||||
Tasks.release_task(task)
|
||||
if task.status ~= 0 then
|
||||
Tasks.remove_task(task)
|
||||
end
|
||||
log.noticef("Error execute task: %s", tostring(err))
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue