!9799 revert-子线程crash

Merge pull request !9799 from wangshuo/uifirst0404_crash
This commit is contained in:
openharmony_ci 2024-04-06 11:06:43 +00:00 committed by Gitee
commit e432713a29
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -701,8 +701,7 @@ bool RSMainThread::CheckParallelSubThreadNodesStatus()
RS_LOGE("RSMainThread::CheckParallelSubThreadNodesStatus sunThreadNode is nullptr!");
continue;
}
if (node->GetCacheSurfaceProcessedStatus() == CacheProcessStatus::DOING ||
node->GetCacheSurfaceProcessedStatus() == CacheProcessStatus::WAITING) {
if (node->GetCacheSurfaceProcessedStatus() == CacheProcessStatus::DOING) {
RS_TRACE_NAME("node:[ " + node->GetName() + "]");
pid_t pid = 0;
if (node->IsAppWindow()) {