File tree Expand file tree Collapse file tree 6 files changed +21
-9
lines changed
QAToolKit.Engine.HttpTester.Test
QAToolKit.Engine.HttpTester Expand file tree Collapse file tree 6 files changed +21
-9
lines changed Original file line number Diff line number Diff line change @@ -360,4 +360,4 @@ MigrationBackup/
360360
361361# Fody - auto-generated XML schema
362362FodyWeavers.xsd
363- /src /QAToolKit.Core .Test /global.json
363+ /src /QAToolKit.Engine.HttpTester .Test /global.json
Original file line number Diff line number Diff line change 11<Project >
22 <PropertyGroup >
3- <Version >0.3 .0</Version >
3+ <Version >0.1 .0</Version >
44 </PropertyGroup >
55</Project >
Original file line number Diff line number Diff line change 11# QAToolKit Engine HttpTester library
2- ![ https://github.com/qatoolkit/qatoolkit-engine-httptester-net/actions ] ( https://github.com/qatoolkit/qatoolkit-engine-httptester-net/workflows/.NET%20Core /badge.svg?branch=main )
2+ ![ https://github.com/qatoolkit/qatoolkit-engine-httptester-net/actions ] (![ Build .NET Library ] ( https://github.com/qatoolkit/qatoolkit-engine-httptester-net/workflows/Build%20 .NET%20Library /badge.svg ) )
33![ https://github.com/qatoolkit/qatoolkit-engine-httptester-net/security/code-scanning ] ( https://github.com/qatoolkit/qatoolkit-engine-httptester-net/workflows/CodeQL%20Analyze/badge.svg )
44![ https://sonarcloud.io/dashboard?id=qatoolkit_qatoolkit-engine-httptester-net ] ( https://github.com/qatoolkit/qatoolkit-engine-httptester-net/workflows/Sonarqube%20Analyze/badge.svg )
55![ https://www.nuget.org/packages/QAToolKit.Engine.HttpTester/ ] ( https://img.shields.io/nuget/v/QAToolKit.Engine.HttpTester?label=QAToolKit.Engine.HttpTester )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -170,8 +170,26 @@ public async Task<HttpResponseMessage> Start()
170170 /// Dispose the object
171171 /// </summary>
172172 public void Dispose ( )
173+ {
174+ Dispose ( true ) ;
175+ GC . SuppressFinalize ( this ) ;
176+ }
177+
178+ /// <summary>
179+ /// Dispose object
180+ /// </summary>
181+ /// <param name="disposing"></param>
182+ protected virtual void Dispose ( bool disposing )
173183 {
174184 HttpClient ? . Dispose ( ) ;
175185 }
186+
187+ /// <summary>
188+ /// Destructor
189+ /// </summary>
190+ ~ HttpTesterClient ( )
191+ {
192+ Dispose ( false ) ;
193+ }
176194 }
177195}
Original file line number Diff line number Diff line change 2121 <RepositoryUrl >https://github.com/qatoolkit/qatoolkit-core-net</RepositoryUrl >
2222 <PackageTags >qatoolkit-core-net;.net;c#;f#;dotnet;netstandard;net5</PackageTags >
2323 <Configurations >Debug;Release;Debug With Project References</Configurations >
24- <AutoGenerateBindingRedirects >true</AutoGenerateBindingRedirects >
2524 </PropertyGroup >
2625
2726 <PropertyGroup >
You can’t perform that action at this time.
0 commit comments