We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1de5766 commit e11d067Copy full SHA for e11d067
src/GraphQL.Client/GraphQLHttpClient.cs
@@ -188,8 +188,8 @@ protected virtual void Dispose(bool disposing)
188
Debug.WriteLine($"Disposing GraphQLHttpClient on endpoint {Options.EndPoint}");
189
_cancellationTokenSource.Cancel();
190
HttpClient.Dispose();
191
- if ( (bool)(_lazyHttpWebSocket?.IsValueCreated) )
192
- _lazyHttpWebSocket?.Value.Dispose();
+ if ( _lazyHttpWebSocket.IsValueCreated )
+ _lazyHttpWebSocket.Value.Dispose();
193
_cancellationTokenSource.Dispose();
194
}
195
0 commit comments