mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2024-11-27 09:10:54 +00:00
purge unlocked resources
Signed-off-by: zed <maozijie@huawei.com>
This commit is contained in:
parent
cd368d0a37
commit
95d99bbe46
@ -825,6 +825,9 @@ void RSUniRenderThread::PostClearMemoryTask(ClearMemoryMoment moment, bool deepl
|
||||
this->clearMemoryFinished_ = true;
|
||||
} else {
|
||||
this->isDefaultCleanTaskFinished_ = true;
|
||||
if (RSSystemProperties::GetRenderNodePurgeEnabled()) {
|
||||
grContext->PurgeUnlockedResources(false);
|
||||
}
|
||||
}
|
||||
RSUifirstManager::Instance().TryReleaseTextureForIdleThread();
|
||||
this->exitedPidSet_.clear();
|
||||
|
Loading…
Reference in New Issue
Block a user