Fix bug that Dali::Texture destroyed at worker thread 15/304315/1
authorEunki, Hong <eunkiki.hong@samsung.com>
Tue, 16 Jan 2024 02:51:06 +0000 (11:51 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Tue, 16 Jan 2024 03:00:26 +0000 (12:00 +0900)
commit45852542e2d22cdc180cc8d4bc97b79927dcd4bb
tree56ccced7b59ecf28972785e260cdeabe828350a3
parentcaf0fc003fce2badb0fe0d35c01bb70303074830
Fix bug that Dali::Texture destroyed at worker thread

If SetSize() API comes multiple times before Event thread comes,
The mPreviousTexture might be released at workerthread.

It might make some Render::Texture leak.

Change-Id: I94e36ac81cc4bf9bbebc0b3b9d3ce89187390b15
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali-extension/vector-animation-renderer/vector-animation-renderer-tizen.cpp
dali-extension/vector-animation-renderer/vector-animation-renderer-tizen.h