public Task StopAsync(CancellationToken cancellationToken) { _infr.TerminateTm(); Tms.TerminateWithoutSql(_tmCid); return(Task.CompletedTask); }
public override async Task StopAsync(CancellationToken cancellationToken) { _infr.TerminateTm(); Tms.TerminateWithoutSql(_tmCid); Tms.PrintMessage("Задача будет закрыта"); await base.StopAsync(cancellationToken); }