Skip to content

Commit 3119849

Browse files
committed
End the passthrough stream instead of ending (#23399)
1 parent 795bba9 commit 3119849

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/client/pythonEnvironments/base/locators/common/nativePythonFinder.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,7 @@ class NativeGlobalPythonFinderImpl implements NativeGlobalPythonFinder {
6969
writable.pipe(proc.stdin, { end: false });
7070
const disposeStreams = new Disposable(() => {
7171
readable.end();
72-
readable.destroy();
7372
writable.end();
74-
writable.destroy();
7573
});
7674
const connection = rpc.createMessageConnection(
7775
new rpc.StreamMessageReader(readable),

0 commit comments

Comments
 (0)