Fix some synchronization issues

This commit is contained in:
Steven Barth 2008-08-27 17:45:58 +00:00
parent 4e15641c24
commit af18067e75
2 changed files with 1 additions and 2 deletions

View file

@ -121,7 +121,6 @@ function step()
end end
if idle then if idle then
collectgarbage()
socket.sleep(THREAD_IDLEWAIT) socket.sleep(THREAD_IDLEWAIT)
end end
end end

View file

@ -84,7 +84,7 @@ function Luci.handle_get(self, request, sourcein, sinkerr)
return true return true
elseif id == 5 then elseif id == 5 then
active = false active = false
return true return nil
elseif id == 4 then elseif id == 4 then
return data return data
end end