diff --git a/Dodo1000Bot.Services/CheckAndNotifyService.cs b/Dodo1000Bot.Services/CheckAndNotifyService.cs index 377f3e0..8d48319 100644 --- a/Dodo1000Bot.Services/CheckAndNotifyService.cs +++ b/Dodo1000Bot.Services/CheckAndNotifyService.cs @@ -1,19 +1,10 @@ -using System; using System.Threading; using System.Threading.Tasks; namespace Dodo1000Bot.Services { - public abstract class CheckAndNotifyService : IAsyncDisposable + public abstract class CheckAndNotifyService { public abstract Task CheckAndNotify(CancellationToken cancellationToken); - - protected abstract ValueTask DisposeAsyncCore(); - - public async ValueTask DisposeAsync() - { - await DisposeAsyncCore(); - GC.SuppressFinalize(this); - } } } \ No newline at end of file