Fix some synchronization issues
authorSteven Barth <steven@midlink.org>
Wed, 27 Aug 2008 17:45:58 +0000 (17:45 +0000)
committerSteven Barth <steven@midlink.org>
Wed, 27 Aug 2008 17:45:58 +0000 (17:45 +0000)
libs/httpd/luasrc/httpd.lua
libs/httpd/luasrc/httpd/handler/luci.lua

index 541063c..75f5132 100644 (file)
@@ -121,7 +121,6 @@ function step()
        end
        
        if idle then
-               collectgarbage()
                socket.sleep(THREAD_IDLEWAIT)
        end
 end
index 320ab4c..737abd4 100644 (file)
@@ -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