mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-04 10:43:49 +00:00
Fix. Remove task in next.lua
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user