Resolve DisposeRecursively crashed when we dispose scrollbase
authorEunki, Hong <eunkiki.hong@samsung.com>
Fri, 27 Oct 2023 09:47:55 +0000 (18:47 +0900)
committerEunki Hong <h.pichulia@gmail.com>
Tue, 31 Oct 2023 14:07:28 +0000 (23:07 +0900)
commit7c47e172a728ad7a9d01dabdbcbc32fffbb63359
tree6162a41884c735fcbcb360c40c57199e050b6efb
parentf63802dccf309ac8c18cc39df35bea684f68d587
Resolve DisposeRecursively crashed when we dispose scrollbase

Due to some app's implements, ContentView can be disposed before ScrollBase
itself disposed. In this case, ContentView is not null.

So, when we try to call RemovePropertyNotification, it become crashed.

To avoid these cases, let we make DisposeRecursively API makes more safety.

And also, fix some crash issue in PerformanceTest1Page.xaml.cs what
can be problem in future.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
src/Tizen.NUI.Components/Controls/ScrollableBase.cs
src/Tizen.NUI/src/public/Common/Container.cs
test/NUITizenGallery/Examples/PerformanceTest/PerformanceTest1Page.xaml.cs