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 6e6bd2d commit e48e68aCopy full SHA for e48e68a
src/Shared/E2ETesting/BrowserFixture.cs
@@ -65,14 +65,20 @@ public static bool IsHostAutomationSupported()
65
66
public async Task DisposeAsync()
67
{
68
- var browsers = _browsers.Values;
69
- foreach (var (browser, _) in browsers)
+ try
70
71
- browser?.Quit();
72
- browser?.Dispose();
73
- }
+ var browsers = _browsers.Values;
+ foreach (var (browser, _) in browsers)
+ {
+ browser?.Quit();
74
+ browser?.Dispose();
75
+ }
76
- await DeleteBrowserUserProfileDirectoriesAsync();
77
+ await DeleteBrowserUserProfileDirectoriesAsync();
78
79
+ catch
80
81
82
}
83
84
private async Task DeleteBrowserUserProfileDirectoriesAsync()
0 commit comments