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 committed Dec 9, 2024
1 parent c7271b1 commit 9b14544
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 @@ -1491,14 +1491,14 @@ protected override void Dispose(DisposeTypes type)

attached?.Clear();
attached = null;

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 9b14544

Please sign in to comment.