Skip to content

Commit d5ebf76

Browse files
committed
PR feedback
1 parent 50c08c9 commit d5ebf76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/SignalR/clients/csharp/Client.Core/src/HubConnection.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,9 +449,9 @@ private async Task StartAsyncCore(CancellationToken cancellationToken)
449449
Log.Started(_logger);
450450
}
451451

452-
private Task CloseAsync(ConnectionContext connection)
452+
private ValueTask CloseAsync(ConnectionContext connection)
453453
{
454-
return connection.DisposeAsync().AsTask();
454+
return connection.DisposeAsync();
455455
}
456456

457457
// This method does both Dispose and Start, the 'disposing' flag indicates which.

0 commit comments

Comments
 (0)