diff --git a/TGServiceInterface/Interface.cs b/TGServiceInterface/Interface.cs index d788499b0f..954b4cc064 100644 --- a/TGServiceInterface/Interface.cs +++ b/TGServiceInterface/Interface.cs @@ -14,7 +14,7 @@ namespace TGServiceInterface /// /// Main inteface class for the service /// - public class Interface : IDisposable + sealed public class Interface : IDisposable { /// /// List of s that can be used with and @@ -319,7 +319,7 @@ namespace TGServiceInterface /// Implements the pattern. Calls /// /// if was called manually, if it was from the finalizer - protected virtual void Dispose(bool disposing) + void Dispose(bool disposing) { if (!disposedValue) {