From af534e5c184be1eed52d783b785ffd3772d5d6b0 Mon Sep 17 00:00:00 2001 From: Timothy Green <36088127+TimtyG@users.noreply.github.com> Date: Mon, 17 Nov 2025 15:20:29 +0100 Subject: [PATCH] Fix crash when logging out during dialogue --- Intersect.Client.Framework/Gwen/Control/Base.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Intersect.Client.Framework/Gwen/Control/Base.cs b/Intersect.Client.Framework/Gwen/Control/Base.cs index c0920f9849..b49cb19e8a 100644 --- a/Intersect.Client.Framework/Gwen/Control/Base.cs +++ b/Intersect.Client.Framework/Gwen/Control/Base.cs @@ -1391,7 +1391,7 @@ private static void DisposeChildren(Base @this) var children = @this._children.ToArray(); try { - foreach (var child in @this._children) + foreach (var child in children) { child.Dispose(); }