Skip to content

Commit 1d356d8

Browse files
committed
Dispose the certificate in HttpsProxyClientTests in TearDown
1 parent 421836a commit 1d356d8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

UnitTests/Net/Proxy/HttpsProxyClientTests.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ public HttpsProxyClientTests ()
4949
}
5050
}
5151

52+
[OneTimeTearDown]
53+
public void TearDown ()
54+
{
55+
certificate?.Dispose ();
56+
}
57+
5258
[Test]
5359
public void TestArgumentExceptions ()
5460
{

0 commit comments

Comments
 (0)