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
|
||||
me.open = false
|
||||
print("Monitor closed")
|
||||
responseRegisterInfo(server.EVENT_ID)
|
||||
responseResumed(server.EVENT_ID)
|
||||
end
|
||||
|
||||
|
|
|
@ -231,8 +231,8 @@ local function prepareCommand()
|
|||
|
||||
if me.running then
|
||||
me.running = false
|
||||
commands.monitorOpened()
|
||||
end
|
||||
commands.monitorOpened()
|
||||
me.conn:settimeout(-1)
|
||||
|
||||
data, status = me.conn:receive(1 + 4)
|
||||
|
|
Loading…
Add table
Reference in a new issue