diff --git a/TGServiceInterface/Interface.cs b/TGServiceInterface/Interface.cs index 15a3c4cc93..e663ed7be3 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 @@ -409,7 +409,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) {