Skip to content

Commit

Permalink
fix: properly closing dangling streams
Browse files Browse the repository at this point in the history
  • Loading branch information
aryanjassal committed Dec 6, 2024
1 parent 22c79e1 commit 6cc6fde
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/RPCServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -512,8 +512,6 @@ class RPCServer {
const cleanUp = async (reason: any) => {
// Release resources
await transformStream.readable.cancel(reason);
await transformStream.writable.abort(reason);
await passthroughTransform.readable.cancel(reason);
await rpcStream.writable.abort(reason);
await inputStreamEndProm;
// Stop the timer
Expand Down

0 comments on commit 6cc6fde

Please sign in to comment.