Making method ExecuteAsync virtual. (#16496)

Co-authored-by: Kvyatkovsky, Petr <pkvyatkovsky@qulix.com>
(cherry picked from commit 3a9ef3810b)
This commit is contained in:
Peter
2024-08-14 22:07:36 +02:00
committed by Sebastiaan Janssen
parent 9d94658372
commit bb1c36f591

View File

@@ -129,7 +129,7 @@ public abstract class RecurringHostedServiceBase : IHostedService, IDisposable
/// Executes the task.
/// </summary>
/// <param name="state">The task state.</param>
public async void ExecuteAsync(object? state)
public virtual async void ExecuteAsync(object? state)
{
try
{