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) {
|
if (-not $NoImplicitCleanup.IsPresent) {
|
||||||
$cleanup = {
|
$cleanup = {
|
||||||
|
Remove-Variable -Scope Global -Name "InOperation";
|
||||||
Clear-OperationResources;
|
Clear-OperationResources;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue