projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d73b6d
)
libs/lucid: fix process function leak (#285)
author
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 11 Aug 2011 23:23:11 +0000
(23:23 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 11 Aug 2011 23:23:11 +0000
(23:23 +0000)
libs/lucid/luasrc/lucid.lua
patch
|
blob
|
history
diff --git
a/libs/lucid/luasrc/lucid.lua
b/libs/lucid/luasrc/lucid.lua
index
7ecdf2a
..
38b34fd
100644
(file)
--- 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