mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2024-11-23 07:02:25 +00:00
修复开机动画播放图片方式时内存异常增长的问题
Signed-off-by: wulei <19072970815@163.com>
This commit is contained in:
parent
979b752f9a
commit
2f1e2419e2
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user