mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 16:43:52 +09:00
Remove weird cast
This commit is contained in:
@ -47,7 +47,7 @@ namespace osu.Game.Online.Notifications.WebSocket
|
|||||||
await base.StartChatAsync();
|
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];
|
byte[] buffer = new byte[1024];
|
||||||
StringBuilder messageResult = new StringBuilder();
|
StringBuilder messageResult = new StringBuilder();
|
||||||
@ -94,7 +94,7 @@ namespace osu.Game.Online.Notifications.WebSocket
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}), cancellationToken);
|
}, cancellationToken);
|
||||||
|
|
||||||
private async Task closeAsync()
|
private async Task closeAsync()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user