[Tizen] Fix bug that Dali::Texture destroyed at worker thread 14/304314/3
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 02:59:40 +0000 (11:59 +0900)
commit23168167b5d5aaa74cbe7427977144cf787dfa20
treeba9c108bcdaeb3aa36bd03d258af115b5d342d82
parent9dce2d9c87c7f73dc5a67c29007815c0c3bc9332
[Tizen] 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