Skip to content

Commit

Permalink
DotNet: Fix "Connect() was not called" on dispose without connect
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip Stadermann authored and pstadermann committed Jan 2, 2024
1 parent c2903c5 commit 5bee3fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dotnet/Vaas/src/Vaas/Vaas.cs
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ protected virtual void Dispose(bool disposing)
{
if (!disposing) return;

AuthenticatedClient.Dispose();
_client?.Dispose();
_httpClient.Dispose();
}

Expand Down

0 comments on commit 5bee3fe

Please sign in to comment.