libs/lucid: fix process function leak (#285)
[project/luci.git] / libs / lucid / luasrc / lucid.lua
index 7ecdf2acd788d0be2edb47c76f3d0e187a9ea1b9..38b34fde96b34538846c84d7b5874769e6a95f2e 100644 (file)
@@ -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