fix the bug of deadloop actor runtime
This commit is contained in:
parent
5d1c8dc4f5
commit
47439165d8
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue