浏览代码

fixed routine runner delay bugs.

sangwq 1 年之前
父节点
当前提交
acf413cdc1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Venus/Framework/Common/Routine/RoutineRunner.cs

+ 1 - 1
Venus/Framework/Common/Routine/RoutineRunner.cs

@@ -265,7 +265,7 @@ namespace MECF.Framework.Common.Routine
             return this;
         }
 
-        public RoutineRunner LoopEnd(int id, Func<bool> action, Func<bool> condition, int timeout = _defaultDelay)
+        public RoutineRunner LoopEnd(int id, Func<bool> action, Func<bool> condition, int timeout = _defaultTimeout)
         {
             if (bAllowLoopSubStepStart(id))
             {