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
|
end
|
||||||
|
|
||||||
if idle then
|
if idle then
|
||||||
collectgarbage()
|
|
||||||
socket.sleep(THREAD_IDLEWAIT)
|
socket.sleep(THREAD_IDLEWAIT)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue