[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>
Wed, 2 Nov 2022 09:06:47 +0000 (18:06 +0900)
commit88b2b690c70e6d882508b963ce3b8ee69aa394a5
tree8e8ab57de89d858226d6891259f3cdf85bf0611f
parentc83d3d9e0418a59ac8a3db39357efade2b99c97e
[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