fix the bug of deadloop actor runtime

This commit is contained in:
limingqi107 2021-06-30 13:10:27 +08:00
parent 5d1c8dc4f5
commit 47439165d8
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ int ShardedThread::EnqueMessage(std::unique_ptr<MessageBase> &&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;
}