refactor: clean up async logic for PluginMaster loads

This commit is contained in:
goat 2021-09-09 01:09:04 +02:00
parent bd48297745
commit 86d9f01877
No known key found for this signature in database
GPG key ID: 7773BB5B43BA52E5
5 changed files with 42 additions and 30 deletions

View file

@ -529,7 +529,7 @@ namespace Dalamud.Interface.Internal.Windows
if (this.thirdRepoListChanged)
{
pluginManager.SetPluginReposFromConfig(true);
_ = pluginManager.SetPluginReposFromConfigAsync(true);
this.thirdRepoListChanged = false;
}
@ -602,7 +602,7 @@ namespace Dalamud.Interface.Internal.Windows
configuration.Save();
Service<PluginManager>.Get().ReloadPluginMasters();
_ = Service<PluginManager>.Get().ReloadPluginMastersAsync();
}
}
}