Skip to content

Commit

Permalink
[NUI] Access managed fields only when explicit view disposal
Browse files Browse the repository at this point in the history
Signed-off-by: Jiyun Yang <[email protected]>
  • Loading branch information
rabbitfor authored and hinohie committed Dec 10, 2024
1 parent 984d085 commit 0a40bda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Tizen.NUI/src/public/BaseComponents/ViewInternal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1469,14 +1469,14 @@ protected override void Dispose(DisposeTypes type)
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;
Expand Down

0 comments on commit 0a40bda

Please sign in to comment.