fixed incorrect watchdog call
This commit is contained in:
parent
0cf81040fb
commit
4b6a1c5902
@ -204,7 +204,7 @@ plc.new_session = function (id, for_reactor, in_queue, out_queue)
|
||||
|
||||
-- mark this PLC session as closed, stop watchdog
|
||||
local _close = function ()
|
||||
self.rtu_conn_watchdog.cancel()
|
||||
self.plc_conn_watchdog.cancel()
|
||||
self.connected = false
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user