Fix SonarCloud OpenCover (coverlet-coverage) (#545)

This commit is contained in:
Stef Heyenrath
2020-11-30 14:48:17 +00:00
committed by GitHub
parent 3e0c6cce5f
commit db2caadf70
22 changed files with 409 additions and 325 deletions

View File

@@ -80,10 +80,7 @@ namespace WireMock.Server
/// <param name="disposing"><c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only unmanaged resources.</param>
protected virtual void Dispose(bool disposing)
{
if (_httpServer != null)
{
_httpServer.StopAsync();
}
_httpServer?.StopAsync();
}
#endregion