Merge pull request #1007 from Aireil/fix_concurrency

This commit is contained in:
goat 2022-09-14 18:15:22 +02:00 committed by GitHub
commit 0920ff941b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -338,7 +338,7 @@ namespace Dalamud.Interface.Internal.Windows.PluginInstaller
throw new ArgumentOutOfRangeException();
}
if (DateTime.Now - this.timeLoaded > TimeSpan.FromSeconds(90) && isWaitingManager)
if (DateTime.Now - this.timeLoaded > TimeSpan.FromSeconds(90) && !pluginManager.PluginsReady)
{
ImGui.PushStyleColor(ImGuiCol.Text, ImGuiColors.DalamudRed);
ImGuiHelpers.CenteredText("This is embarrassing, but...");
@ -1035,7 +1035,7 @@ namespace Dalamud.Interface.Internal.Windows.PluginInstaller
private void DrawPluginCategoryContent()
{
var ready = this.DrawPluginListLoading();
var ready = this.DrawPluginListLoading() && !this.AnyOperationInProgress;
if (!this.categoryManager.IsSelectionValid || !ready)
{
return;