feat: init subsystems synchronously

This commit is contained in:
goat 2021-04-26 21:55:45 +02:00
parent e930c98769
commit 9f22b00fc6
No known key found for this signature in database
GPG key ID: F18F057873895461
2 changed files with 34 additions and 26 deletions

View file

@ -130,6 +130,10 @@ namespace Dalamud.Game.Internal {
}
private bool HandleFrameworkUpdate(IntPtr framework) {
// If this is the first time we are running this loop, we need to init Dalamud subsystems synchronously
if (!this.dalamud.IsReady)
this.dalamud.StartSubsystems();
try {
Gui.Chat.UpdateQueue(this);
Gui.Toast.UpdateQueue();