chore: fix some warnings

This commit is contained in:
goaaats 2022-05-12 11:00:31 +02:00
parent 02d19df0f7
commit b1d927ab8f
No known key found for this signature in database
GPG key ID: 49E2AA8C6A76498B
2 changed files with 2 additions and 2 deletions

View file

@ -5,6 +5,7 @@ using System.Linq;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
using Dalamud.Game.Gui;
using Dalamud.Game.Gui.Toast;
using Dalamud.Game.Libc;
@ -200,7 +201,6 @@ namespace Dalamud.Game
/// <summary>
/// Run given function in upcoming Framework.Tick call.
/// </summary>
/// <typeparam name="T">Return type.</typeparam>
/// <param name="action">Function to call.</param>
/// <param name="delay">Wait for given timespan before calling this function.</param>
/// <param name="delayTicks">Count given number of Framework.Tick calls before calling this function. This takes precedence over delay parameter.</param>

View file

@ -1469,7 +1469,7 @@ namespace Dalamud.Interface.Internal.Windows
for (var i = 0; i < 100; i++)
{
token.ThrowIfCancellationRequested();
Thread.Sleep(1);
await Task.Delay(1);
}
});
}