Fix monitor open sequence
This commit is contained in:
parent
4de2d8a187
commit
8900835408
2 changed files with 1 additions and 2 deletions
|
@ -91,7 +91,6 @@ return function(server)
|
||||||
end
|
end
|
||||||
me.open = false
|
me.open = false
|
||||||
print("Monitor closed")
|
print("Monitor closed")
|
||||||
responseRegisterInfo(server.EVENT_ID)
|
|
||||||
responseResumed(server.EVENT_ID)
|
responseResumed(server.EVENT_ID)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -231,8 +231,8 @@ local function prepareCommand()
|
||||||
|
|
||||||
if me.running then
|
if me.running then
|
||||||
me.running = false
|
me.running = false
|
||||||
commands.monitorOpened()
|
|
||||||
end
|
end
|
||||||
|
commands.monitorOpened()
|
||||||
me.conn:settimeout(-1)
|
me.conn:settimeout(-1)
|
||||||
|
|
||||||
data, status = me.conn:receive(1 + 4)
|
data, status = me.conn:receive(1 + 4)
|
||||||
|
|
Loading…
Add table
Reference in a new issue