Skip to content

Commit

Permalink
Remove reference to request instance after cancel (DH-18086-2)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmingles committed Jan 16, 2025
1 parent 7c0ad0d commit 057f592
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/jsapi-nodejs/src/NodeHttp2gRPCTransport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export class NodeHttp2gRPCTransport implements GrpcTransport {
* false otherwise indicating that Open/Next gRPC calls should be used
*/
get supportsClientStreaming(): boolean {
return false;
return true;
},
};

Expand Down Expand Up @@ -177,6 +177,7 @@ export class NodeHttp2gRPCTransport implements GrpcTransport {
logger.debug('cancel');
assertNotNull(this.request, 'request is required');
this.request.close();
this.request = null;
}

/**
Expand Down

0 comments on commit 057f592

Please sign in to comment.