[NUI] Clean up DisconnectFromSignals(). and Add Exception when Animation is used...
authordongsug.song <dongsug.song@samsung.com>
Thu, 16 Sep 2021 01:54:15 +0000 (10:54 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Mon, 27 Sep 2021 08:27:23 +0000 (17:27 +0900)
commitd275499fbf72a3cc97af391425b34e511970edb9
treea1a2fa6e05564039ac290831eadb7519e5b00deb
parent1eb65a37dec35192c19d6b836c419379f8600d41
[NUI] Clean up DisconnectFromSignals(). and Add Exception when Animation is used after disposed

- Add Exception when Animation's method or property is used after itself has been disposed already. (requested by GBM)
- All NUI object will throw an ObjectDisposedException when it is tried to be used after disposed.
- BaseHandle's internal SwigCPtr has setter and getter, but setter seems to be dangerous so it is changed to be getter only. (requested by GBM)
- SwigCPtr becomes only getter, so DisconnectFromSignals() has been changed accordingly.
src/Tizen.NUI/src/public/BaseComponents/Scrollable.cs
src/Tizen.NUI/src/public/BaseComponents/View.cs
src/Tizen.NUI/src/public/BaseComponents/ViewEvent.cs
src/Tizen.NUI/src/public/BaseComponents/ViewInternal.cs
src/Tizen.NUI/src/public/Common/BaseHandle.cs
test/Tizen.NUI.Samples/Tizen.NUI.Samples.sln
test/Tizen.NUI.Samples/Tizen.NUI.Samples/Samples/DisposeWithoutEventUnsubscribedTest.cs [new file with mode: 0644]