mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-23 20:36:33 +01:00
CP-36392: Dispose '_webClient' when it is no longer needed
Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
This commit is contained in:
parent
12faf4413b
commit
bb765e2b0f
@ -19,6 +19,7 @@
|
||||
{
|
||||
_webClient.DownloadFileCompleted -= webclient_DownloadFileCompleted;
|
||||
_webClient.DownloadProgressChanged -= webclient_DownloadProgressChanged;
|
||||
_webClient.Dispose();
|
||||
}
|
||||
|
||||
if (components != null)
|
||||
|
Loading…
Reference in New Issue
Block a user