From 1457703d8c916037389d6a4cd0b1df97bffdd49f Mon Sep 17 00:00:00 2001 From: fallenoak Date: Mon, 1 Dec 2025 22:18:14 -0600 Subject: [PATCH] fix(ui): add missing linked check to CLayoutFrame::Resize --- src/ui/CLayoutFrame.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ui/CLayoutFrame.cpp b/src/ui/CLayoutFrame.cpp index 4ed58dd..18df245 100644 --- a/src/ui/CLayoutFrame.cpp +++ b/src/ui/CLayoutFrame.cpp @@ -625,7 +625,10 @@ void CLayoutFrame::RegisterResize(CLayoutFrame* frame, uint32_t dep) { void CLayoutFrame::Resize(int32_t force) { if (force && !(this->m_flags & 0x8) && this->OnFrameResize()) { - LayoutFrame::s_resizePendingList.UnlinkNode(this); + if (LayoutFrame::s_resizePendingList.IsLinked(this)) { + LayoutFrame::s_resizePendingList.UnlinkNode(this); + } + return; }