You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a bug. Reproduce with an unused batch number such as:
Get-RSJob -Batch "123" | Wait-RSJob; "Hi";
Does not show Hi. All processing in any caller (like a function) stops at this point because the caller exits. It's caused by Line 119 in Wait-RSJob.ps1
If ($List.count -eq 0) {
BREAK
}
It seems that break here has pretty bad (for me) unintended consequences. Replacing it with a return appears to work better.
The text was updated successfully, but these errors were encountered:
This is a bug. Reproduce with an unused batch number such as:
Does not show Hi. All processing in any caller (like a function) stops at this point because the caller exits. It's caused by Line 119 in Wait-RSJob.ps1
It seems that break here has pretty bad (for me) unintended consequences. Replacing it with a return appears to work better.
The text was updated successfully, but these errors were encountered: