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