[NUI] Fix crash issue when visual create failed
authorEunki, Hong <eunkiki.hong@samsung.com>
Wed, 16 Mar 2022 06:56:09 +0000 (15:56 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Tue, 22 Mar 2022 08:34:14 +0000 (17:34 +0900)
commit6194238e5aa0ba00d3ed815989d55d64a5dde2d3
treeba27e91fda5d3355b66fcb7fdabc45a2581cd51a
parent4284335f09da7f47f62027d5d53ea1ef29f39cd6
[NUI] Fix crash issue when visual create failed

Due to the empty array issue, we change that we don't create visual when
UrlList is empty.

But current NUI.VisualView don't consider that visual failure case.

This patch consider case when we fail to create visual, so visual is null in VisualView.

TODO : need to make TCT

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
src/Tizen.NUI/src/public/BaseComponents/VisualView.cs