minor fixes

This commit is contained in:
Stanley Dimant
2022-09-09 14:53:59 +02:00
parent b9d119acf1
commit ce1a1187f0
5 changed files with 23 additions and 15 deletions

View File

@@ -142,10 +142,12 @@ namespace MareSynchronos.Managers
int totalSleepTime = 0;
while (actionQueue.Count > 0 && totalSleepTime < 2000)
{
Logger.Verbose("Waiting for actionqueue to clear...");
System.Threading.Thread.Sleep(16);
totalSleepTime += 16;
}
Logger.Verbose("Action queue clear or not, disposing");
_dalamudUtil.FrameworkUpdate -= HandleActionQueue;
actionQueue.Clear();