diff --git a/mindspore/core/mindrt/src/actor/actorpolicy.cc b/mindspore/core/mindrt/src/actor/actorpolicy.cc index c4732b446c1..063e27058df 100644 --- a/mindspore/core/mindrt/src/actor/actorpolicy.cc +++ b/mindspore/core/mindrt/src/actor/actorpolicy.cc @@ -91,7 +91,7 @@ int ShardedThread::EnqueMessage(std::unique_ptr &&msg) { ++msgCount; // true : The actor is running. else the actor will be ready to run. - if (start && (ready == false) && (terminated == false) && actor->IsActive(msgCount)) { + if (start && (ready == false) && (terminated == false)) { ActorMgr::GetActorMgrRef()->SetActorReady(actor); ready = true; }