A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/kubernetes-client/csharp/commit/b50aed2654dd1beaaa712c590cf985e90f4f9928 below:

Add missing Dispose() calls (#1552) · kubernetes-client/csharp@b50aed2 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+5

-2

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+5

-2

lines changed Original file line number Diff line number Diff line change

@@ -209,6 +209,7 @@ protected virtual void Dispose(bool disposing)

209 209 210 210

// Dispose the client

211 211

HttpClient?.Dispose();

212 +

HttpClient = null;

212 213 213 214

// Dispose the certificates

214 215

if (CaCerts is not null)

@@ -221,11 +222,13 @@ protected virtual void Dispose(bool disposing)

221 222

CaCerts.Clear();

222 223

}

223 224 224 - 225 225

ClientCert?.Dispose();

226 +

ClientCert = null;

226 227 227 -

HttpClient = null;

228 +

FirstMessageHandler?.Dispose();

228 229

FirstMessageHandler = null;

230 + 231 +

HttpClientHandler?.Dispose();

229 232

HttpClientHandler = null;

230 233

}

231 234

}

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4