diff --git a/visual-dotnet/SauceLabs.Visual/VisualClient.cs b/visual-dotnet/SauceLabs.Visual/VisualClient.cs index 94cb54dd..0624597f 100644 --- a/visual-dotnet/SauceLabs.Visual/VisualClient.cs +++ b/visual-dotnet/SauceLabs.Visual/VisualClient.cs @@ -112,11 +112,11 @@ public async Task VisualCheck(string name, VisualCheckOptions? options = public void Dispose() { - _api.Dispose(); if (!_externalBuild) { FinishBuild(Build); } + _api.Dispose(); } ///