From: Steven Barth Date: Wed, 27 Aug 2008 17:45:58 +0000 (+0000) Subject: Fix some synchronization issues X-Git-Tag: 0.8.0~280 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=af18067e75c3b6d9bbfa31b7ac844e6d3c9013e0;p=oweals%2Fluci.git Fix some synchronization issues --- diff --git a/libs/httpd/luasrc/httpd.lua b/libs/httpd/luasrc/httpd.lua index 541063cc7..75f5132e0 100644 --- a/libs/httpd/luasrc/httpd.lua +++ b/libs/httpd/luasrc/httpd.lua @@ -121,7 +121,6 @@ function step() end if idle then - collectgarbage() socket.sleep(THREAD_IDLEWAIT) end end diff --git a/libs/httpd/luasrc/httpd/handler/luci.lua b/libs/httpd/luasrc/httpd/handler/luci.lua index 320ab4c10..737abd479 100644 --- a/libs/httpd/luasrc/httpd/handler/luci.lua +++ b/libs/httpd/luasrc/httpd/handler/luci.lua @@ -84,7 +84,7 @@ function Luci.handle_get(self, request, sourcein, sinkerr) return true elseif id == 5 then active = false - return true + return nil elseif id == 4 then return data end