Структура
This commit is contained in:
@@ -15,7 +15,7 @@ namespace PARR.EsppTemplateSyncWorker
|
||||
|
||||
protected override async Task ExecuteAsync(CancellationToken stoppingToken)
|
||||
{
|
||||
await templateSyncer.StartWatchingAsync();
|
||||
await templateSyncer.StartAsync();
|
||||
|
||||
//while (!stoppingToken.IsCancellationRequested)
|
||||
//{
|
||||
@@ -26,7 +26,7 @@ namespace PARR.EsppTemplateSyncWorker
|
||||
|
||||
public override Task StopAsync(CancellationToken cancellationToken)
|
||||
{
|
||||
templateSyncer.StopWatching();
|
||||
templateSyncer.Stop();
|
||||
|
||||
return base.StopAsync(cancellationToken);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user