修复开机动画播放图片方式时内存异常增长的问题

Signed-off-by: wulei <19072970815@163.com>
This commit is contained in:
wulei 2024-07-16 17:28:47 +08:00
parent 979b752f9a
commit 2f1e2419e2

View File

@ -57,7 +57,6 @@ void BootAnimation::OnDraw(Rosen::Drawing::CoreCanvas* canvas, int32_t curNo)
Rosen::Drawing::SamplingOptions samplingOptions;
canvas->DrawImageRect(*image, rect, samplingOptions);
imageVector_[curNo].reset();
imageVector_[curNo] = nullptr;
ROSEN_TRACE_END(HITRACE_TAG_GRAPHIC_AGP);
}