mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
chore: also lock when rendering
This commit is contained in:
parent
aa58edec9a
commit
9a32da7db8
1 changed files with 12 additions and 9 deletions
|
|
@ -216,14 +216,17 @@ internal class PluginInstallerWindow : Window, IDisposable
|
||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
public override void Draw()
|
public override void Draw()
|
||||||
{
|
{
|
||||||
this.DrawHeader();
|
lock (this.listLock)
|
||||||
this.DrawPluginCategories();
|
{
|
||||||
this.DrawFooter();
|
this.DrawHeader();
|
||||||
this.DrawErrorModal();
|
this.DrawPluginCategories();
|
||||||
this.DrawUpdateModal();
|
this.DrawFooter();
|
||||||
this.DrawTestingWarningModal();
|
this.DrawErrorModal();
|
||||||
this.DrawFeedbackModal();
|
this.DrawUpdateModal();
|
||||||
this.DrawProgressOverlay();
|
this.DrawTestingWarningModal();
|
||||||
|
this.DrawFeedbackModal();
|
||||||
|
this.DrawProgressOverlay();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
@ -433,7 +436,7 @@ internal class PluginInstallerWindow : Window, IDisposable
|
||||||
this.sortKind = selectable.SortKind;
|
this.sortKind = selectable.SortKind;
|
||||||
this.filterText = selectable.Localization;
|
this.filterText = selectable.Localization;
|
||||||
|
|
||||||
lock(this.listLock)
|
lock (this.listLock)
|
||||||
this.ResortPlugins();
|
this.ResortPlugins();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue