Fix async plugin load and show full profiler (#898)

This commit is contained in:
kizer 2022-06-26 02:34:40 +09:00 committed by GitHub
parent 86b5eec493
commit c7dc8c81f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 404 additions and 248 deletions

View file

@ -35,7 +35,7 @@ namespace Dalamud.Interface.Internal
/// <summary>
/// This plugin implements all of the Dalamud interface separately, to allow for reloading of the interface and rapid prototyping.
/// </summary>
[ServiceManager.EarlyLoadedService]
[ServiceManager.AfterDrawingEarlyLoadedService]
internal class DalamudInterface : IDisposable
{
private static readonly ModuleLog Log = new("DUI");
@ -714,7 +714,7 @@ namespace Dalamud.Interface.Internal
{
try
{
pluginManager.ReloadAllPlugins();
pluginManager.ReloadAllPluginsAsync().Wait();
}
catch (Exception ex)
{