Implement IDisposable for ConvertToJsonCommand#15787
Implement IDisposable for ConvertToJsonCommand#15787daxian-dbw merged 4 commits intoPowerShell:masterfrom
IDisposable for ConvertToJsonCommand#15787Conversation
daxian-dbw
left a comment
There was a problem hiding this comment.
LGTM. I made a minor update to reduce the nesting.
|
@daxian-dbw I looked at the implementation again, and removed the unnecessary
Feel free to revert to reset to 29cdfb4 if you disagree. |
|
@xtqqczze In that case, you don't really need to follow the exact |
@daxian-dbw I already considered those changes, but they are only possible if the class is sealed. Since |
|
The sealed class issue reminds me of comments in #11820 (review). |
|
🎉 Handy links: |
Fix #15740.
cc: @iSazonov