mirror of
https://github.com/ppy/osu
synced 2025-03-11 05:49:12 +00:00
Remove weird cast
This commit is contained in:
parent
ab78cde2d4
commit
d3173ab1bd
@ -47,7 +47,7 @@ namespace osu.Game.Online.Notifications.WebSocket
|
||||
await base.StartChatAsync();
|
||||
}
|
||||
|
||||
private void runReadLoop(CancellationToken cancellationToken) => Task.Run((Func<Task>)(async () =>
|
||||
private void runReadLoop(CancellationToken cancellationToken) => Task.Run(async () =>
|
||||
{
|
||||
byte[] buffer = new byte[1024];
|
||||
StringBuilder messageResult = new StringBuilder();
|
||||
@ -94,7 +94,7 @@ namespace osu.Game.Online.Notifications.WebSocket
|
||||
return;
|
||||
}
|
||||
}
|
||||
}), cancellationToken);
|
||||
}, cancellationToken);
|
||||
|
||||
private async Task closeAsync()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user