mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-22 16:39:19 +01:00
fix: some concurrency issues with the installer
This commit is contained in:
parent
49793a1f17
commit
9bf714b6ba
2 changed files with 2 additions and 2 deletions
|
|
@ -1035,7 +1035,7 @@ namespace Dalamud.Interface.Internal.Windows.PluginInstaller
|
||||||
|
|
||||||
private void DrawPluginCategoryContent()
|
private void DrawPluginCategoryContent()
|
||||||
{
|
{
|
||||||
var ready = this.DrawPluginListLoading();
|
var ready = this.DrawPluginListLoading() && !this.AnyOperationInProgress;
|
||||||
if (!this.categoryManager.IsSelectionValid || !ready)
|
if (!this.categoryManager.IsSelectionValid || !ready)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
|
|
@ -151,7 +151,7 @@ internal partial class PluginManager : IDisposable, IServiceType
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets a value indicating whether all added repos are not in progress.
|
/// Gets a value indicating whether all added repos are not in progress.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool ReposReady => this.Repos.All(repo => repo.State != PluginRepositoryState.InProgress || repo.State != PluginRepositoryState.Fail);
|
public bool ReposReady => this.Repos.All(repo => repo.State != PluginRepositoryState.InProgress);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets a value indicating whether the plugin manager started in safe mode.
|
/// Gets a value indicating whether the plugin manager started in safe mode.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue