diff --git a/GetFileHash.ps1 b/GetFileHash.ps1 index 0819bc7..a9d299a 100644 --- a/GetFileHash.ps1 +++ b/GetFileHash.ps1 @@ -31,7 +31,7 @@ function Get-FileHash { } finally { $f.Close() - if($sham) { $sham.Dispose() } + if($sham) { $sham.Clear() } } } }