Skip to content

Conversation

@TravisEz13
Copy link
Member

PR Summary

Merge the following PR to 6.0.0-ga:
#5622
#5771

… errors (PowerShell#5771)

Update Restore-PSPester to include PR PowerShell/psl-pester#12 that fixes PowerShell/psl-pester#11 - unhandled exceptions in before/after bypasses Pester's enddescribe logic.  
Update to the latest, while we are at it.
Issue PowerShell#4029 exposed two problems when failing to load libpsrpclient.

WSManAPIDataCommon.ctor was not identifying the binary that failed DLLImport; hindering diagnosability
PrioritySendDataCollection.Clear() would throw a NullReferenceException when called from the finalizer after an error path.
This change addresses both of the above:

Guard against null arrays in PrioritySendDataCollection.Clear() - called from finalizer in error paths.

Diagnosability: Log the DllNotFoundException in WSManAPIDataCommon ctor and also include it as the internal exception when throwing PSRemotingTransportException.
@TravisEz13 TravisEz13 merged commit 63b8094 into PowerShell:6.0.0 Jan 5, 2018
@TravisEz13 TravisEz13 deleted the move_6.0.0-ga_changes branch January 5, 2018 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants