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 08507ee commit 2cdef8fCopy full SHA for 2cdef8f
dotnet/src/webdriver/BiDi/BiDi.cs
@@ -24,7 +24,7 @@
24
25
namespace OpenQA.Selenium.BiDi;
26
27
-public class BiDi : IAsyncDisposable
+public sealed class BiDi : IAsyncDisposable
28
{
29
private readonly Broker _broker;
30
@@ -170,13 +170,8 @@ public Task EndAsync(Session.EndOptions? options = null)
170
}
171
172
public async ValueTask DisposeAsync()
173
- {
174
- await DisposeAsyncCore();
175
- GC.SuppressFinalize(this);
176
- }
177
-
178
- protected virtual async ValueTask DisposeAsyncCore()
179
180
await _broker.DisposeAsync().ConfigureAwait(false);
+ GC.SuppressFinalize(this);
181
182
0 commit comments