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