watchdog cleanup and loop clock object

This commit is contained in:
Mikayla Fischler
2022-05-10 13:06:13 -04:00
parent 168341db39
commit 6e1ece8183
5 changed files with 72 additions and 37 deletions

View File

@@ -403,7 +403,7 @@ plc.new_session = function (id, for_reactor, in_queue, out_queue)
-- check if a timer matches this session's watchdog
local check_wd = function (timer)
return timer == self.plc_conn_watchdog.get_timer()
return self.plc_conn_watchdog.is_timer(timer)
end
-- close the connection