Dispose the XML reader upon use
This commit is contained in:
parent
541e523f5c
commit
c8d96b0711
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@ function Install-Firefox {
|
|||
$defaultAssociations.PreserveWhitespace = $true;
|
||||
$reader = [System.Xml.XmlReader]::Create("$configFile", $readerSettings);
|
||||
$defaultAssociations.Load($reader);
|
||||
$reader.Dispose();
|
||||
|
||||
$extensions = @(
|
||||
".htm",
|
||||
|
|
Loading…
Reference in a new issue