libs/lucid: fix process function leak (#285)
This commit is contained in:
parent
0d73b6d411
commit
4e78f77d63
1 changed files with 1 additions and 0 deletions
|
@ -150,6 +150,7 @@ function run()
|
||||||
if tpids[pid] ~= true then
|
if tpids[pid] ~= true then
|
||||||
tpids[pid](pid, stat, code)
|
tpids[pid](pid, stat, code)
|
||||||
end
|
end
|
||||||
|
tpids[pid] = nil
|
||||||
end
|
end
|
||||||
pid, stat, code = nixio.wait(-1, "nohang")
|
pid, stat, code = nixio.wait(-1, "nohang")
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue