mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-21 07:17:45 +01:00
feat: load plugings with load order <= 0 asynchronously
This commit is contained in:
parent
0c5db3d0e6
commit
6356ad53b9
2 changed files with 39 additions and 7 deletions
|
|
@ -2,7 +2,7 @@ using System;
|
|||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Threading;
|
||||
|
||||
using System.Threading.Tasks;
|
||||
using Dalamud.Configuration;
|
||||
using Dalamud.Data;
|
||||
using Dalamud.Game;
|
||||
|
|
@ -325,7 +325,9 @@ namespace Dalamud
|
|||
this,
|
||||
this.StartInfo.PluginDirectory,
|
||||
this.StartInfo.DefaultPluginDirectory);
|
||||
this.PluginManager.LoadPlugins();
|
||||
this.PluginManager.LoadSynchronousPlugins();
|
||||
|
||||
Task.Run(() => this.PluginManager.LoadDeferredPlugins());
|
||||
|
||||
Log.Information("[T3] PM OK!");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue