From: Jo-Philipp Wich Date: Thu, 11 Aug 2011 23:23:11 +0000 (+0000) Subject: libs/lucid: fix process function leak (#285) X-Git-Tag: 0.11.0~1893 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4e78f77d631309608d9e31733c67650804f068de;p=project%2Fluci.git libs/lucid: fix process function leak (#285) --- 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