From 31e9886b6d39d2ead7a7c8e39f7a93ec76c77a30 Mon Sep 17 00:00:00 2001 From: Michael Zillgith Date: Tue, 20 Mar 2018 07:06:46 +0100 Subject: [PATCH] - .NET API: fixed bug in TLS wrapper --- dotnet/IEC61850forCSharp/TLS.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotnet/IEC61850forCSharp/TLS.cs b/dotnet/IEC61850forCSharp/TLS.cs index 9beccc4b..2b3b49d8 100644 --- a/dotnet/IEC61850forCSharp/TLS.cs +++ b/dotnet/IEC61850forCSharp/TLS.cs @@ -202,7 +202,7 @@ namespace IEC61850 public void Dispose() { - lock (self) { + lock (this) { if (self != IntPtr.Zero) { TLSConfiguration_destroy (self); self = IntPtr.Zero;