From 234cc476dcd0244a0d57e3fd883a6d39cb00bc2b Mon Sep 17 00:00:00 2001
From: Thomas Juerges <4-jurges@users.noreply.git.astron.nl>
Date: Fri, 2 Apr 2021 20:15:59 +0200
Subject: [PATCH] Correct call that disconnects the comms client

---
 devices/PCC.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devices/PCC.py b/devices/PCC.py
index 4a76f5120..2ea322dbf 100644
--- a/devices/PCC.py
+++ b/devices/PCC.py
@@ -120,7 +120,7 @@ class PCC(hardware_device):
 		""" user code here. is called when the state is set to OFF """
 
 		# Stop keep-alive
-		self.opcua_connection.stop()
+		self.OPCua_client.disconnect()
 
 	def initialise(self):
 		""" user code here. is called when the state is set to INIT """
-- 
GitLab