Skip to content

Commit

Permalink
revert disposed CheckAndNotifyService
Browse files Browse the repository at this point in the history
  • Loading branch information
granstel committed Dec 14, 2023
1 parent 926e392 commit 9648e16
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions Dodo1000Bot.Services/CheckAndNotifyService.cs
Original file line number Diff line number Diff line change
@@ -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);
}
}
}

0 comments on commit 9648e16

Please sign in to comment.