Skip to content

Prevent NRE in Unix computer cmdlets with test hooks active - #12651

Merged
Ilya (iSazonov) merged 1 commit into
PowerShell:masterfrom
vexx32:patch-2
May 14, 2020
Merged

Prevent NRE in Unix computer cmdlets with test hooks active#12651
Ilya (iSazonov) merged 1 commit into
PowerShell:masterfrom
vexx32:patch-2

Conversation

@vexx32

@vexx32 Rain Sallow (/u/ta11ow) (vexx32) commented May 14, 2020

Copy link
Copy Markdown
Collaborator

PR Summary

Test hooks being enabled prevent _process from being defined & causes the Dispose() method to throw a NRE on the Unix Computer cmdlets.

PR Context

Less errors please. Also #12482 for the broader issues in this file.

PR Checklist

Test hooks being enabled causes the Dispose() method to throw a NRE on the Unix Computer cmdlets.
@iSazonov Ilya (iSazonov) added the CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log label May 14, 2020
@iSazonov Ilya (iSazonov) added this to the 7.1.0-preview.3 milestone May 14, 2020
@iSazonov
Ilya (iSazonov) merged commit 42248a0 into PowerShell:master May 14, 2020
@ghost

Copy link
Copy Markdown

🎉v7.1.0-preview.4 has been released which incorporates this pull request.:tada:

Handy links:

Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj/PowerShell that referenced this pull request Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants