From 0a450ec769a7112bbf6ef8396edf857e8bfcce6b Mon Sep 17 00:00:00 2001 From: Michele Cattafesta Date: Mon, 2 May 2016 07:40:12 +0200 Subject: [PATCH] Added IDisposable to Plc class. Signed-off-by: Michele Cattafesta --- S7.Net/PLC.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/S7.Net/PLC.cs b/S7.Net/PLC.cs index 3ee2edc..27be3e2 100644 --- a/S7.Net/PLC.cs +++ b/S7.Net/PLC.cs @@ -10,7 +10,7 @@ using Double = System.Double; namespace S7.Net { - public class Plc + public class Plc : IDisposable { private Socket _mSocket; //TCP connection to device