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 012d1bb commit b80e8feCopy full SHA for b80e8fe
src/Components/Components/src/OwningComponentBase.cs
@@ -72,17 +72,9 @@ protected virtual void Dispose(bool disposing)
72
/// <inheritdoc />
73
async ValueTask IAsyncDisposable.DisposeAsync()
74
{
75
- if (!IsDisposed)
76
- {
77
- try
78
79
- await DisposeAsyncCore().ConfigureAwait(false);
80
- }
81
- finally
82
83
- Dispose(disposing: true);
84
85
+ await DisposeAsyncCore().ConfigureAwait(false);
+
+ Dispose(disposing: true);
86
GC.SuppressFinalize(this);
87
}
88
0 commit comments