[NUI] Fix crash on ScrollableBase.Dispose()
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Thu, 27 Oct 2022 02:28:39 +0000 (11:28 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Thu, 10 Nov 2022 01:25:11 +0000 (10:25 +0900)
commit0609e2083a82fe3639450aa35dd1697704d333c0
tree129eee36b4a3247236f7c7adf529ebebbf9bea5e
parent6ed200ddc72efad897ffc7c973f85cdd1550a656
[NUI] Fix crash on ScrollableBase.Dispose()

In ScrollableBase.Dispose(), propertyNotification is disposed as well.
To dispose propertyNotification, RemovePropertyNotifications was called
inappropriately and it caused crash.

To resolve the above, RemovePropertyNotification is called by
ContentContainer with propertyNotification like AddPropertyNotification
is called by ContentContainer with propertyNotification.
src/Tizen.NUI.Components/Controls/ScrollableBase.cs