mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Merge pull request #788 from KazWolfe/master
Fix WindowSystem loop issues
This commit is contained in:
commit
f317bc48a0
1 changed files with 2 additions and 1 deletions
|
|
@ -106,7 +106,8 @@ namespace Dalamud.Interface.Windowing
|
|||
if (hasNamespace)
|
||||
ImGui.PushID(this.Namespace);
|
||||
|
||||
foreach (var window in this.windows)
|
||||
// Shallow clone the list of windows so that we can edit it without modifying it while the loop is iterating
|
||||
foreach (var window in this.windows.ToArray())
|
||||
{
|
||||
#if DEBUG
|
||||
// Log.Verbose($"[WS{(hasNamespace ? "/" + this.Namespace : string.Empty)}] Drawing {window.WindowName}");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue