summaryrefslogtreecommitdiffhomepage
path: root/libs/lucid
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-08-11 23:23:11 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-08-11 23:23:11 +0000
commit4e78f77d631309608d9e31733c67650804f068de (patch)
tree53ecda2b4bd2db426ba94d9700e706eb32a463d5 /libs/lucid
parent0d73b6d411026fbd9a949b493ff4cb1080547835 (diff)
libs/lucid: fix process function leak (#285)
Diffstat (limited to 'libs/lucid')
-rw-r--r--libs/lucid/luasrc/lucid.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/lucid/luasrc/lucid.lua b/libs/lucid/luasrc/lucid.lua
index 7ecdf2acd7..38b34fde96 100644
--- a/libs/lucid/luasrc/lucid.lua
+++ b/libs/lucid/luasrc/lucid.lua
@@ -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