From d0e0dc22e985497e80eee14063088a21d4525847 Mon Sep 17 00:00:00 2001 From: Michael Zillgith Date: Mon, 26 Jun 2023 20:45:13 +0100 Subject: [PATCH] - .NET API: Added finalizer to ControlObject (#459) --- dotnet/IEC61850forCSharp/Control.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dotnet/IEC61850forCSharp/Control.cs b/dotnet/IEC61850forCSharp/Control.cs index b3c2bcc9..97a3d767 100644 --- a/dotnet/IEC61850forCSharp/Control.cs +++ b/dotnet/IEC61850forCSharp/Control.cs @@ -775,7 +775,10 @@ namespace IEC61850 Dispose (true); } - + ~ControlObject() + { + Dispose (false); + } } }