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 7ecdf2acd788d0be2edb47c76f3d0e187a9ea1b9..38b34fde96b34538846c84d7b5874769e6a95f2e 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