Fix some synchronization issues
This commit is contained in:
parent
4e15641c24
commit
af18067e75
2 changed files with 1 additions and 2 deletions
|
@ -121,7 +121,6 @@ function step()
|
|||
end
|
||||
|
||||
if idle then
|
||||
collectgarbage()
|
||||
socket.sleep(THREAD_IDLEWAIT)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue