From: Jiyun Yang Date: Fri, 6 Dec 2024 05:48:36 +0000 (+0900) Subject: [NUI] Access managed fields only when explicit view disposal X-Git-Tag: submit/tizen_9.0/20241210.060405~1^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0a40bdac9ce11c603a2896085ca4dc8a96b1ced8;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [NUI] Access managed fields only when explicit view disposal Signed-off-by: Jiyun Yang --- diff --git a/src/Tizen.NUI/src/public/BaseComponents/ViewInternal.cs b/src/Tizen.NUI/src/public/BaseComponents/ViewInternal.cs index 95b0b8513..2a0c41fe5 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/ViewInternal.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/ViewInternal.cs @@ -1469,14 +1469,14 @@ namespace Tizen.NUI.BaseComponents heightConstraint.Remove(); heightConstraint.Dispose(); } + + DisConnectFromSignals(); } //Release your own unmanaged resources here. //You should not access any managed member here except static instance. //because the execution order of Finalizes is non-deterministic. - DisConnectFromSignals(); - backgroundExtraDataUpdatedFlag = BackgroundExtraDataUpdatedFlag.None; LayoutCount = 0;