mirror of
https://github.com/openwrt/luci.git
synced 2026-08-29 08:31:46 +04:00
libs/lucid: fix process function leak (#285)
This commit is contained in:
@@ -150,6 +150,7 @@ function run()
|
||||
if tpids[pid] ~= true then
|
||||
tpids[pid](pid, stat, code)
|
||||
end
|
||||
tpids[pid] = nil
|
||||
end
|
||||
pid, stat, code = nixio.wait(-1, "nohang")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user