继续调整,原逻辑有问题

This commit is contained in:
alex
2023-09-18 15:48:02 +08:00
parent 6cc0529d60
commit 18b72a8bad
2 changed files with 9 additions and 15 deletions

View File

@@ -173,7 +173,8 @@ namespace Tnb.WarehouseMgr
public override Task StopAsync(CancellationToken cancellationToken)
{
IsStarted = false;
return base.StopAsync(cancellationToken);
return Task.FromResult(IsStarted);
//return base.StopAsync(cancellationToken);
}
private Task TaskDelay(TimeSpanUnit timeType, int interval)