Reset InOperation variable after running actions

This commit is contained in:
Manuel Thalmann 2024-10-17 03:49:17 +02:00
parent 0c9df9b555
commit 4f273b4b89

View file

@ -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;
}; };
} }