- .NET API: fixed bug in TLS wrapper

pull/143/head
Michael Zillgith 8 years ago
parent 68d56d947e
commit 31e9886b6d

@ -202,7 +202,7 @@ namespace IEC61850
public void Dispose() public void Dispose()
{ {
lock (self) { lock (this) {
if (self != IntPtr.Zero) { if (self != IntPtr.Zero) {
TLSConfiguration_destroy (self); TLSConfiguration_destroy (self);
self = IntPtr.Zero; self = IntPtr.Zero;

Loading…
Cancel
Save