(Vector) Fix memory leak issue 51/233451/1
authorHeeyong Song <heeyong.song@samsung.com>
Wed, 15 Jan 2020 06:32:07 +0000 (15:32 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Fri, 15 May 2020 01:28:58 +0000 (10:28 +0900)
commit0bbfe84afc1935ba8bed8663d1b83aea0c41c6eb
tree1061c08bcfe90f28345d23597ee6f5ec4abaaeae
parent04ad814fbf3fae95e0e5796c8e89b9ebc647d2b0
(Vector) Fix memory leak issue

The reference count of mRenderedTexture can be 0 in Render method which is called in the worker thread.
In the case, the render object of the Texture is not destoyed.

Ensure the texture object is destoyed in the main thread

Change-Id: Iedf5523d3ac45380cac88542815d4e4615214bb3
dali-extension/vector-animation-renderer/tizen-vector-animation-renderer.cpp
dali-extension/vector-animation-renderer/tizen-vector-animation-renderer.h