mirror of
https://github.com/MikaylaFischler/cc-mek-scada.git
synced 2024-08-30 18:22:34 +00:00
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
|
-- mark this PLC session as closed, stop watchdog
|
||||||
local _close = function ()
|
local _close = function ()
|
||||||
self.rtu_conn_watchdog.cancel()
|
self.plc_conn_watchdog.cancel()
|
||||||
self.connected = false
|
self.connected = false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user