Reset InOperation
variable after running actions
This commit is contained in:
parent
0c9df9b555
commit
4f273b4b89
1 changed files with 1 additions and 0 deletions
|
@ -73,6 +73,7 @@ $null = New-Module {
|
|||
|
||||
if (-not $NoImplicitCleanup.IsPresent) {
|
||||
$cleanup = {
|
||||
Remove-Variable -Scope Global -Name "InOperation";
|
||||
Clear-OperationResources;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue