mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-05-01 03:53:22 +08:00
为ioc容器增加了可能存在的循环依赖提示
This commit is contained in:
@@ -177,7 +177,11 @@ namespace Serein.NodeFlow
|
||||
IsStopStart = true;
|
||||
}
|
||||
}
|
||||
CheckStartState(); // 初始化IOC后检查状态
|
||||
|
||||
if (IsStopStart)
|
||||
{
|
||||
return;// 初始化类型后检查状态
|
||||
}
|
||||
|
||||
env.IOC.Build(); // 流程启动前的初始化
|
||||
|
||||
@@ -190,8 +194,11 @@ namespace Serein.NodeFlow
|
||||
IsStopStart = true;
|
||||
}
|
||||
}
|
||||
if (IsStopStart)
|
||||
{
|
||||
return;// 调用节点初始化后检查状态
|
||||
}
|
||||
|
||||
CheckStartState();// 调用节点初始化后检查状态
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
Reference in New Issue
Block a user