Pass initialization to background task
This commit is contained in:
@@ -67,7 +67,8 @@ public sealed class Plugin : IDalamudPlugin
|
|||||||
ListWindow = new();
|
ListWindow = new();
|
||||||
|
|
||||||
// Trigger static constructors so a huge hitch doesn't occur on first RecipeNote frame.
|
// Trigger static constructors so a huge hitch doesn't occur on first RecipeNote frame.
|
||||||
FoodStatus.Initialize();
|
_ = Task.Run(FoodStatus.Initialize);
|
||||||
|
_ = Task.Run(ActionUtils.Initialize);
|
||||||
Gearsets.Initialize();
|
Gearsets.Initialize();
|
||||||
ActionUtils.Initialize();
|
ActionUtils.Initialize();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user