Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upEnsure the SSHClientSessionTransportManager stream writer and reader fields are cleared after dispose. #7746
+4
−5
Conversation
dantraMSFT
requested review from
mirichmo and
PaulHigin
as
code owners
Sep 9, 2018
dantraMSFT
requested review from
daxian-dbw,
TravisEz13,
adityapatwardhan and
PaulHigin
and removed request for
PaulHigin and
mirichmo
Sep 9, 2018
iSazonov
assigned
daxian-dbw
Sep 10, 2018
iSazonov
approved these changes
Sep 10, 2018
PaulHigin
reviewed
Sep 10, 2018
|
LGTM, but this shouldn't be necessary. From Microsoft documentation: |
PaulHigin
reviewed
Sep 10, 2018
PaulHigin
approved these changes
Sep 10, 2018
This comment has been minimized.
This comment has been minimized.
|
@PaulHigin I guess that Dispose() should support a protection |
TravisEz13
merged commit 528d970
into
PowerShell:master
Sep 10, 2018
8 checks passed
CodeFactor
No issues found.
Details
PowerShell-CI-linux
#PR-7746-20180909.01 succeeded
Details
PowerShell-CI-macos
#PR-7746-20180909.01 succeeded
Details
PowerShell-CI-windows
#PR-7746-20180909.01 succeeded
Details
WIP
ready for review
Details
continuous-integration/appveyor/pr
AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr
The Travis CI build passed
Details
license/cla
All CLA requirements met.
TravisEz13
added a commit
that referenced
this pull request
Sep 10, 2018
TravisEz13
added this to the v6.1.0 milestone
Sep 10, 2018
dantraMSFT
deleted the
dantraMSFT:dantra/issue7740
branch
Sep 10, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
dantraMSFT commentedSep 9, 2018
Fix #7740
PR Summary
Fix the ObjectDisposedException in SSHClientSessionTransportManager.CloseConnection calling StreamWriter.Dispose multiple times.
There are two changes:
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:to the beginning of the title and remove the prefix when the PR is ready.[feature]if the change is significant or affects feature tests