1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-06 00:13:14 +08:00

Fix more CI inspections

This commit is contained in:
Dan Balasescu 2024-02-02 21:36:41 +09:00
parent 497213d529
commit 8e8ba9e77f
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

View File

@ -138,7 +138,7 @@ namespace osu.Desktop
return false;
// Make sure that this is a laptop.
var gpus = new IntPtr[64];
IntPtr[] gpus = new IntPtr[64];
if (checkError(EnumPhysicalGPUs(gpus, out int gpuCount)))
return false;

View File

@ -58,7 +58,7 @@ namespace osu.Game.Tests.NonVisual
var task3 = addTask();
// Cancel task2, allow task3 to complete.
task2.cancellation.Cancel();
await task2.cancellation.CancelAsync();
task2.mutex.Set();
task3.mutex.Set();

View File

@ -61,7 +61,7 @@ namespace osu.Game.Online.Chat
{
await client.SendAsync(new StartChatRequest()).ConfigureAwait(false);
Logger.Log(@"Now listening to websocket chat messages.", LoggingTarget.Network);
chatStartCancellationSource.Cancel();
await chatStartCancellationSource.CancelAsync().ConfigureAwait(false);
}
catch (Exception ex)
{